2.3 KiB
2.3 KiB
frontendNew
This template should help get you started developing with Vue 3 in Vite.
Migration Status (frontend -> frontendNew)
- UI library baseline: shadcn-vue + Tailwind v4
- Routing migrated:
/home/dcalc/dnfhelper/character/:alter/(equipment|skill|forge)
- Migrated pages:
src/pages/Home/Index.vuesrc/pages/Dcalc/DnfHelper/*src/pages/Character/Index.vuesrc/pages/Character/EquipmentDictionary/Index.vuesrc/pages/Character/Skill/index.vuesrc/pages/Character/Forge/index.vue
Next Migration Steps
- Migrate
frontend/src/pages/Character/Equipment/components/*into shadcn-vue filter + picker panels. - Migrate
frontend/src/pages/Character/Result/*with Card/Item-based result layout and baseline compare blocks. - Migrate
frontend/src/pages/Character/Config/import*.vueinto dialog/sheet flows infrontendNew. - Replace placeholder summary blocks in Forge with interactive editors for avatar, emblem, jade, oath.
Recommended IDE Setup
VS Code + Vue (Official) (and disable Vetur).
Recommended Browser Setup
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
- Firefox:
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 Volar to make the TypeScript language service aware of .vue types.
Customize configuration
See Vite Configuration Reference.
Project Setup
pnpm install
Compile and Hot-Reload for Development
pnpm dev
Type-Check, Compile and Minify for Production
pnpm build
Lint with ESLint
pnpm lint