naive-ui/README.md

31 lines
867 B
Markdown
Raw Normal View History

2019-06-17 19:52:16 +08:00
# naive-ui
TuSimple Vue-Based Frontend Component Library
2019-06-26 13:37:58 +08:00
# Documentation
http://***REMOVED***/#/start
2019-06-17 20:10:35 +08:00
# Start Develop / 开始开发
- packages
- packages/commons
- packages/nimbus
- styles
- test
- demo
- build
# Want to see how component works / 想看看组件效果?
2019-06-26 14:20:13 +08:00
Run `npm run build`, then open `http://localhost:8086/` at browser.
2019-06-17 20:10:35 +08:00
# Want to add your own component?
1. add some thing in packages
2. add some thing in demo/index.js demo/components
3. add some thing to index.js
# Publish a new version / 想发布一个新的版本
`npm run build`
# Want to use this ui?
`npm install --save-dev naive-ui`
```
...
import installNaiveUiTo from 'naive-ui'
installNaiveUiTo(Vue)
import 'naive-ui/dist/lib/index.css'
...
```
2019-06-20 12:46:29 +08:00
# Todo
Z-index management on `Select` & `Tooltip` & `Modal`! 这几个东西的顺序管理实在是有点麻烦,放在之后完善吧...