1.0.4 • Published 4 years ago
@sunjingao/vue-components v1.0.4
provide element functions functions
使用说明
全局注册
1:安装
npm install @sunjingao/vue-components --save
2:全局引入
import register from "@sunjingao/vue-components";
import "@sunjingao/vue-components/dist/register/index.css";
register(Vue);
按需引入
1:安装
npm install @sunjingao/vue-components --save
2:按需引入组件
import Button from "@sunjingao/vue-components/dist/button";
import "@sunjingao/vue-components/dist/button/index.css";
Button.install(Vue);