一个轻量的中后台模板 使用了vue3 + NaiveUI + pinia + vite 喜欢的话欢迎小手点个start哦
1.启动的话建议用16以上的node版本。并且npm的版本也是8以上 -- 可以在在终端使用node -v 和npm -v 分别查看系统版本。 2.上述完成之后拉下代码在文件根目录下安装依赖即可运行起来
npm installnpm run devnpm run buildRun Unit Tests with Vitest
npm run test:unitRun End-to-End Tests with Cypress
npm run test:e2e:devThis runs the end-to-end tests against the Vite development server. It is much faster than the production build.
But it's still recommended to test the production build with test:e2e before deploying (e.g. in CI environments):
npm run build
npm run test:e2e