cione-comp-lib
v0.1.3
Published
`$ yarn add cione-comp-lib` 或者 `$ npm i cione-comp-lib -S`
Downloads
34
Readme
cione-comp-lib
安装依赖
$ yarn add cione-comp-lib
或者
$ npm i cione-comp-lib -S
全局引入
main.js 文件全局注册组件
import CioneLib from 'cione-comp-lib'
import 'cione-comp-lib/es/style.css'
createApp(App).use(CioneLib).mount('#app')
按需加载
main.js 文件中引入样式文件
import 'cione-comp-lib/es/style.css'
vue 文件中根据包名按需加载
import CoButtonStd from 'cione-comp-lib/es/packages/co-button-std'