0.3.3 • Published 2 years ago

one-ui-element v0.3.3

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

安装

  • npm
npm install one-ui-element -S
  • yarn
yarn add one-ui-element -S

用法

全局引入

import OneUI from 'one-ui-element'
Vue.use(OneUI)

按需引入

import { Button } from 'one-ui-element'
// 引入字体
import 'one-ui-element/lib/fonts/style.css'   
Vue.use(Button)

配置

按需引入的项目需要安装如下任意一个插件,进行配置

  • babel-plugin-component
npm install babel-plugin-component -D
  • Babel 配置
plugins: [
    [
      "component",
      {
        libraryName: "one-ui-element",
        // 是否解析名称为破折号模式
        camel2Dash: false,
        // import js and css from 'style.css'
        style: true,
      },
      "one-ui-element",
    ],
  ],
0.3.3

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.9

2 years ago

0.2.8

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago