@wont/react-ui
v0.0.1-alpha.12
Published
UI Component build on React
Downloads
1
Readme
本地调试
使用npm link @wont/react-ui和npm unlink @wont/react-ui
## 到@wont/react-ui工程下执行
npm link
## 到业务工程下执行
npm link @wont/react-ui
## 取消本地调试执行
npm unlink @wont/react-ui
使用
npm install @wont/react-ui
npm install @wont/react-ui --save-dev
.babelrc.js
"plugins": [
[
"component", {
"libraryName": "@wont/react-ui",
"libDir": "lib",
"style": "index.css"
}
]
]
与xx同时使用
"plugins": [
[
"component", [
{
"libraryName": "xx",
"style": true
},
{
"libraryName": "@wont/react-ui",
"libDir": "lib",
"style": "index.css"
}
]
]
]