kuke-ui
v0.0.13-beta.1
Published
```sh npm i kuke-ui kk-icon -S ```
Downloads
4
Readme
安装
npm i kuke-ui kk-icon -S
使用
完整引入
import Vue from "vue";
import "kuke-ui/lib/theme-chalk/index.css";
import KkIcon from "kk-icon";
import KKUI from "kuke-ui";
Vue.use(KkIcon);
Vue.use(KKUI);
按需引入(推荐)
import KkIcon from "kk-icon";
import { Button } from "kuke-ui";
Vue.use(KkIcon).use(Button).use(...)
npm i babel-plugin-component -D
// babel.config.js
plugins: [
...,
[
"component", // babel-plugin-component
{
libraryName: "kuke-ui",
styleLibraryName: "theme-chalk",
},
"kuke-ui",
],
];