oui-vue
Mobile UI elements for vue.js
Last updated 3 years ago by anysome .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install oui-vue 
SYNC missed versions from official npm registry.

oui-vue

Mobile UI elements for vue.js

Installation

npm i oui-vue -S

Usage

import all components.

import Vue from 'vue'
import Oui from 'oui-vue';

Vue.use(Oui);

Or import specified component. (Use babel-plugin-component)

import { Cell, Checklist } from 'oui-vue';

Vue.component(Cell.name, Cell);
Vue.component(Checklist.name, Checklist);

Equal to

import Vue from 'vue';
import Oui from 'oui-vue';
import 'oui-vue/lib/style.css';

Vue.use(Oui);

// import specified component

import Radio from 'oui-vue/lib/radio';
import 'oui-vue/lib/radio/style.css';

Vue.component(Radio.name, Radio);

babel-plugin-component

  • Auto import css file
  • Modular import component

Installation

npm i babel-plugin-component -D

Usage

.babelrc

{
  "plugins": ["other-plugin", ["component", [
    { "libraryName": "oui-vue", "style": true }
  ]]]
}

Development

npm i cooking -g
make dev

Production

make dist

Deploy Example

make deploy

License

MIT

Current Tags

  • 0.1.0                                ...           latest (3 years ago)

8 Versions

  • 0.1.0                                ...           3 years ago
  • 0.0.7                                ...           3 years ago
  • 0.0.6                                ...           3 years ago
  • 0.0.5                                ...           4 years ago
  • 0.0.4                                ...           4 years ago
  • 0.0.3                                ...           4 years ago
  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |