suju-plus
v0.0.2
Published
A Vue.js 3.0 UI Toolkit for Web
Downloads
2
Readme
suju-plus
速聚科技内部使用的前端组件库
安装
# 依赖于 vue 和 ant-design-vue 和 @vueuse/core 请通过 npm 或 yarn 安装
npm install vue ant-design-vue @vueuse/core --save
npm install suju-plus --save
使用
全局引入
import { createApp } from 'vue'
import App from './App.vue'
import SujuPlus from 'suju-plus'
import "suju-plus/style.css";
const app = createApp(App)
app.use(SujuPlus)
app.mount('#app')
按需引入
import { SjTable } from 'suju-plus'
import "suju-plus/style.css";
export default {
components: {
SjTable
}
}
npm config set registry http://registry.npmmirror.com npm config set registry https://registry.npmjs.org