Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/nuxt-site-template.
Something went wrong. Try again.
Vue 55%
TypeScript 43%
JavaScript 2%
<1%
README.md
Nuxt Site Template #
A starting point for a Nuxt 4 site, with linting, type checking, unit/component tests (Vitest) and browser tests (Playwright) already configured.
Look at the Nuxt documentation to learn more.
Setup #
pnpm install
Development #
Start the development server on http://localhost:3000:
pnpm dev
Testing #
pnpm lint # eslint
pnpm test:types # vue-tsc
pnpm test:unit # vitest, node environment
pnpm test:nuxt # vitest, nuxt environment
pnpm test:browser # playwright
Browser snapshots are platform-specific, so update them inside the Playwright container:
pnpm test:browser:update
Production #
pnpm build # build for production
pnpm preview # preview the production build locally
Check out the deployment documentation for more information.