everyone
v1.2.7
Published
A beautiful Vue.js UI
Downloads
17
Maintainers
Readme
everyone
Ant Design UI library for Vuejs 2.0
Install
$ npm install -save everyone
Links
Usage
Use all component
import Vue from 'vue'
import everyone from 'everyone' // 引入组件
Vue.use(everyone)
And import style manually:
import 'everyone/dist/everyone.css' // 引入css文件
Use one component
webpack.base.conf.js
{ module: { loaders: [ { test: /everyone.src.*?js$/, loader: 'babel' } ] }, resolve: { alias: { 'everyone-ui': 'everyone/components' } } }
Manually import
import Vue from 'vue' import button from 'everyone-ui/button' // .. Vue.component(button.name, button)
happy use
<y-button type="dashed">一个按钮</y-button>
updating:)......