vue-cli
vue create 项目名
vite
pnpm create vite 项目名
安装
pnpm install kuke-ui @kukefe/shared-components kk-css -S
使用
完整引入
import Vue from "vue";
import "kuke-ui/lib/theme-chalk/index.css";
import KKUI from "kuke-ui";
import KUI from "@kukefe/shared-components";
Vue.use(KKUI);
Vue.use(KUI);
完整引入
import { Icon, Button, Message, Tooltip } from "kuke-ui";
import { Row, Col, LayoutPage, Typography, Divider } from "@kukefe/shared-components";
Vue.use(Icon).use(Button).use(Tooltip);
Vue.use(Row).use(Col).use(LayoutPage).use(Typography).use(Divider)
Vue.prototype.$message = Message;
import "kuke-ui/lib/theme-chalk/message.css";