Go to file
jesi ed73168dcc
fix(tree): throw exception when onLoad callback does not add children (#786)
* fix(tree): throw exception when onLoad callback does not add children

* refactor(tree): not expand when node has no children

* refactor(tree): handle no-children expand error

* Update src/tree/src/Tree.tsx

* Update src/tree/src/TreeNode.tsx

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-26 00:11:12 +08:00
.github feat(action): add sync-gitee action (#942) 2021-08-23 11:52:19 +08:00
.husky deps: husky@7.0.0 2021-07-02 00:37:21 +08:00
build feat(dropdown): add render-icon prop, optimization render-label prop (#517) 2021-07-20 00:05:26 +08:00
demo site: add naive ui admin to footer 2021-08-12 00:36:19 +08:00
design-notes docs: update pr checklist (#530) 2021-07-17 13:24:06 +08:00
playground
scripts fix: no web-types 2021-06-30 21:01:56 +08:00
src fix(tree): throw exception when onLoad callback does not add children (#786) 2021-08-26 00:11:12 +08:00
themes/tusimple fix(loading-bar): throws error when no provider found and export some type (#511) 2021-07-15 00:07:02 +08:00
.eslintignore
.eslintrc.js
.gitignore
.prettierignore
.prettierrc
babel.config.js
CHANGELOG.en-US.md fix(tree): throw exception when onLoad callback does not add children (#786) 2021-08-26 00:11:12 +08:00
CHANGELOG.zh-CN.md fix(tree): throw exception when onLoad callback does not add children (#786) 2021-08-26 00:11:12 +08:00
CONTRIBUTING.md docs: update contribute md (#671) 2021-07-26 23:30:58 +08:00
index.html
jest.config.js test(select): fix scrollTo warning 2021-07-23 00:05:30 +08:00
LICENSE
package.json 2.16.5 2021-08-20 03:51:27 +08:00
postcss.config.js
README.md docs: add Awesome in README (#558) 2021-07-20 16:32:09 +08:00
README.zh-CN.md docs: add Awesome in README (#558) 2021-07-20 16:32:09 +08:00
tsconfig.cjs.json
tsconfig.esm.json
tsconfig.json
vite.config.js
vue3.md

Naive UI

A Vue 3 Component Library

Fairly Complete, Customizable Themes, Uses TypeScript, Not too Slow

Kinda Interesting

English | 中文

Documentation

www.naiveui.com

Community

Features

Fairly Complete

There are more than 70 components. Hope they can help you write less code.

What's more, they are all treeshakable.

Customizable Themes

We provide an advanced type safe theme system built using TypeScript. All you need is to provide a theme overrides object in JS. Then all the stuff will be done by us.

What's more, no less/sass/css variables, no webpack loaders are required.

Uses TypeScript

All the stuff in Naive UI is written in TypeScript. It can work with your typescript project seamlessly.

What's more, you don't need to import any CSS to use the components.

Not too Slow

I try to make it not rather slow. At least select, tree, transfer, table and cascader work with virtual list.

What's more, ..., no more. Just enjoy it.

Installation

npm

Use npm to install.

npm i -D naive-ui

Fonts

npm i -D vfonts

Icons

Naive UI recommends using xicons as icon library.

Design Resources

Naive UI (Sketch).

Contributing

Please see CONTRIBUTING.md.

License

Naive UI is licensed under the MIT license.

Graphics resouces of result component is licensed under the CC-BY 4.0. The graphics resources come from Twemoji.