Skip to content

uni-kit/nPro-web

Repository files navigation

nPro-web

简洁明了、干脆利落的UI组件库。

适配mobile、pad、pc、大屏,等各种屏幕尺寸。

代码简洁明了,实现方式上直截了当,尽量减少互相之间的依赖。

可直接查阅源码,一目了然,逻辑简单明了。

新手友好型组件库。 可复用、可定制。 无任何学习和上手压力。 可作为学习和扩展的材料。 规范且高效的开发套件。 致力于越用越快,越用越顺,得心应手。

  • vue3;
  • vite;
  • typescript;

This template should help get you started developing with Vue 3 in Vite.

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Run Unit Tests with Vitest

npm run test:unit

Lint with ESLint

npm run lint

node version

18.17.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published