Go to file
07akioni d6dc5eea7a feat(doc): make doc sync with readme.md
Create a script to convert and inject README.md to documentation.
Replace Emoji in this page with image from github. Because emoji
in Ubuntu is ridiculously ugly...
2019-07-10 14:08:16 +08:00
build feat: add arrow and arrow show positon 2019-07-01 18:12:18 +08:00
demo feat(doc): make doc sync with readme.md 2019-07-10 14:08:16 +08:00
doc feat(doc): make doc sync with readme.md 2019-07-10 14:08:16 +08:00
packages Merge branch 'develop' of ***REMOVED*** into feature/advancedTable 2019-07-09 19:45:44 +08:00
styles Merge branch 'develop' of ***REMOVED*** into feature/advancedTable 2019-07-09 19:45:44 +08:00
test feat(select): filterable select on single select mode. 2019-07-03 17:52:13 +08:00
.eslintignore chore: style lint! 2019-06-28 15:08:31 +08:00
.eslintrc.js style: .vue style fix 2019-06-04 12:09:02 +08:00
.gitignore fixed the input model event name , from "change" to "changes". 2019-07-08 13:47:25 +08:00
.npmignore feat: ci & doc! 2019-06-23 15:47:39 +08:00
.stylelintrc.js chore: style-lint 2019-06-28 15:41:29 +08:00
babel.config.js test(select) 2019-07-02 18:08:59 +08:00
index.html feat: checkbox & round button 2019-06-14 10:59:06 +08:00
index.js feat(calendar): add basic basic basic calendar 2019-07-04 16:47:41 +08:00
package.json feat(doc): make doc sync with readme.md 2019-07-10 14:08:16 +08:00
README.md feat(doc): make doc sync with readme.md 2019-07-10 14:08:16 +08:00
think.md doc(readme): fulfill it 2019-07-10 11:42:46 +08:00

naive-ui

TuSimple Vue-Based Frontend Component Library

Documentation

http://REMOVED/#/start

Repository

https://REMOVED/naive-ui/tree/develop

Develop Guidelines

Git Commit Message Style

You Must follow Angular Commit Format.

If you want see some example, see Angular Commits on Github.

Code Styles

Javascript Style

You Must follow Standard JS.

SCSS Style

Run npm run lint-style to echeck styles.

Check Both

Run npm run lint You MUST fix all lint warnings and errors before you push your branch.

Unit test

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.

Want to see how component works

  1. Run npm run build
  2. Open http://localhost:8086/ in browser.

Want to add your own component

Explore by your self or ask lecong.zhang@tusimple.ai

Publish a new version

  1. You MUST change your version according to semver
  2. npm run release
  3. You MAY publish documentation by running npm run release-doc

Installation & Usage

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

Component Unit Test
Alert
Button 🆗
Checkbox 🆗
DatePicker
GradientText 🆗
Icon 🆗
Input 🆗
Message
Modal
Notification
Pagination
Popup
Select 🆗
Switch
Tooltip

Todo

  1. Z-index management on Select & Tooltip & Modal(Low Priority)
  2. Full featured table component(Medium Priority)
  3. Form component(Medium Priority)
  4. Complete unit test for all existing components(High Priority)