Nuxt SSR & full-stack starter template, supports I18n, UnoCSS, Prisma, MySQL and provides better SEO.
- Nuxt - SSR, File-based routing, components auto importing, modules, etc.
- Full-stack development with Prisma and MySQL.
- State Management via Pinia, see /app/stores/layout.ts.
- Provide good SEO for your website with powerful head config, composables and components.
- Use SVG icons from any icon sets in Pure CSS, powered by UnoCSS.
- I18n ready, and supports automatic import of translated files.
- Unit Testing with Vitest.
- Deploy on Netlify with zero-config, supports other deployment methods as well.
Create a repo from this template on GitHub.
git clone <git remote url>Install dependencies.
cd starter-nuxt # Or your project directory
pnpm i # If you don't have pnpm installed, run: npm install -g pnpmJust run and visit http://localhost:9865.
pnpm devTo build the App, you can run:
pnpm buildYou will then see the .output folder generated for publishing, which you can preview locally with the following command.
pnpm previewNuxt application can be deployed on a Node.js server, pre-rendered for static hosting, or deployed to serverless or edge (CDN) environments.
If you prefer to do it manually with the cleaner git history:
npx degit starter-collective/starter-nuxt starter-nuxt
cd starter-nuxt
pnpm i # If you don't have pnpm installed, run: npm install -g pnpmWhen you use this template, try follow the checklist to update your info properly:
- Change the app title in
i18n/locales/*.jsonandnuxt.config.ts. - Change the favicon and logo icon in
public.
MIT License © 2024 Kieran Wang