export default `
TuSimple Vue-Based Frontend Component Library
https://***REMOVED***/naive-ui/tree/develop
You MUST follow Angular Commit Format.
If you want see some example, see Angular Commits on Github.
You MUST follow Standard JS.
Run npm run lint-style
to check styles.
Run npm run lint
You MUST fix all lint warnings and errors before you push your branch.
If you create a component, you MUST add unit test for it.
Run npm run test
to test all components.
Run npm run test-cov
to test all components and see detailed test coverage report.
npm run build
http://localhost:8086/
in browser.There is no guideline for now. If you want to know how to do it, you can explore by yourself or ask lecong.zhang@tusimple.ai
.
npm run release
npm run release-doc
First install it.
npm install --save-dev naive-ui
Then add the following lines in you entry point js file.
...
import naiveUi from 'naive-ui'
import 'naive-ui/dist/lib/index.css
Vue.use(naiveUi)
...
Component | Develop status | Unit Test | Note |
---|---|---|---|
Alert | π | β | |
Button | π | π | |
Checkbox | π | π | |
DatePicker | π | β | |
GradientText | π | π | |
Icon | π | π | |
Input | π | π | |
Message | π | β | Code clean in need |
Modal | π | β | Code clean in need |
Notification | π | β | Code clean in need |
Pagination | π | π | Unit test is not enough |
Popup | π | β | |
Select | π | π | Multiple search is not done |
Switch | π | β | |
FormItem | π§ | β | |
Form | π§ | β | |
Table | π§ | β | Function is not fulfilled |
Tooltip | π | β | Remove the dependency of Popper.js |
Popup | π | β | May be need to merge with Tooltip |
InputNumber | π§ | ||
Radio | π§ |
Select
& Tooltip
& Modal
(Low Priority)