grg-web-ui
v0.0.23
Published
grg ui components library
Downloads
3
Maintainers
Readme
GRGUI组件库
快速开始
1、安装组件库
npm install grg-ui --save
2、引用组件库
// 全局引入
import "grg-ui/lib/theme/index.css"
import GRGUI from "grg-ui"
Vue.use(GRGUI)
// 按需引入
import { JuiImg } from "grg-ui"
Vue.use(JuiImg)
按需引入时,需安装babel-plugin-component
,并在.babelrc文件增加如下配置
npm install babel-plugin-component --save-dev
"plugins": [
[
"component",
{
"libraryName": "grg-ui",
"camel2Dash": false,
"styleLibrary": {
"name": "theme",
"base": false
}
// "style": true
},
"grg-ui"
]
],
组件库文档
点击链接进行查看 http://10.1.7.16/grgui