Boilerplate for Vue 3 using Vite and adding some plugins to bring some Nuxt-like features (e.g. auto-importing components and auto-routing setup)
npm i -g pnpm (in case you don't have pnpm installed - yarn/npm also work, but pnpm is recommended)
pnpm i
https://vuejs.org/guide/typescript/overview.html#volar-takeover-mode
pnpm dev
- ESLint ✔️
- TypeScript ✔️
- Auto-import components from
/src/components
with TS support✔️ - Auto setup router for pages in
/src/pages
✔️ - Dynamic routes using
/src/pages/[slug].vue
✔️ - Nuxt-like layout setup ✔️
- Auto-import plugins from
/src/plugins
✔️