vue3 + elementPlus2 + vite5 + pinia2
- 由于使用了自动引入组件的插件,所以在开发过程过程中,可以不手动引入
vue、vue-router的 api,和ElementPlus、components的组件。可直接使用!!! - 开发页面级别的放在 views 下,起名字要
驼峰规则,起码两个单词。
推荐的 IDE 配置是 Visual Studio Code + Vue - Official 扩展。
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 Vue - Official to make the TypeScript language service aware of .vue types.
See Vite Configuration Reference.
pnpm installpnpm devpnpm buildRun Unit Tests with Vitest
pnpm test:unitLint with ESLint
pnpm lint