/vue3-boilerplate

My default pattern for Vue 3 compositionapi projects with ready setp for ssr, ssg, i18n, router, pinia

Primary LanguageJavaScript

vue3-boilerplate

This template should help get you started developing with Vue 3 in Vite. Ready setp for ssr, ssg, i18n, router, pinia

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

or

npm install --legacy-peer-deps

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production client and server

npm run build

Run production node server (after build)

No SSR API calls yet No SSR meta tags change yet

npm run serve

Generate static project (SSG)

Note: No i18n router optimization yet No SSG meta tags change yet

npm run generate

Debug server

npm run debug