English
vue-vp-eslint
Vue 3 single-page application template powered by Vite+. Select Vue → vp + eslint in the CLI.
Stack
- Vue 3.5, Vue Router 5, Pinia 4, persisted state.
- Vite+ 0.2.6, TypeScript 6, Vue TSC.
- Antdv Next, ECharts.
- UnoCSS, Sass, SVG icon plugin.
- Alova with the Axios adapter.
- ESLint, Oxlint, Lefthook, and Commitlint.
Create and Run
See Quick Start for environment requirements.
bash
pnpm create bubbles@latest my-app --template vue-vp-eslint
cd my-app
pnpm install
pnpm devCommon Scripts
bash
pnpm build
pnpm preview
pnpm lint
pnpm lint:fixbuild runs vue-tsc -b before building. lint runs Oxlint followed by ESLint; the automatic fixes in lint:fix are performed by ESLint.
Key Files
vite.config.ts: port, API proxy, component auto-imports, and UnoCSS.src/routerandsrc/store: route guards and Pinia state.src/utils/request: Alova request wrapper.