🍊Ant Design UI library for Vuejs 2.0
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
build
components
config
doc
docs
static
.babelrc
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
.npmignore
README.md
index.html
package.json

README.md

everyone

Ant Design UI library for Vuejs 2.0

build build build build

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>