0.0.6 • Published 3 years ago

scx-ui-icon v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

适配 SCX UI 的图标库

快速开始

npm i scx-ui-icon 

1, 先加载 vite 插件 (两种方法)

方式1 插件生成 js ,再由 js 追加 到 html 中

1,添加 vite 插件 参数传 true 或不传
在 main.js 中引用
    scx-ui-icon/register

方式2 直接通过插件追加到 html 中

1,添加 vite 插件 参数传 false

2, 使用组件

//先注册到全局
createApp(App)
    .use(ScxIconInstall)
    .mount('#app');

//在页面中使用
<scx-icon icon='xxxxxx' />

更多信息请查看 文档 | DOCS

0.0.3

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.6

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago