/nuxt3-template

Nuxt3 template with Windicss + Pinia + Vitest + Playwright

Primary LanguageTypeScript

Nuxt 3 Template

Nuxt 3 template repository

Used Technologies

Usage

Setup

Make sure to have installed right version of Node.js in nvm

nvm use

Don't forget to install the dependencies:

yarn install

Linting

Linting all .js, .vue and .md files:

yarn lint

# Lint with fix
yarn lint:fix

Testing

yarn test

# Run tests in watch mode
yarn test:watch

# Run tests in UI mode
yarn test:ui

# Run tests with coverage report
yarn test:coverage

# Run e2e tests
yarn test:e2e

Development Server

Start the development server on http://localhost:3000

yarn dev

Production

Build the application for production:

yarn build

Locally preview production build:

yarn preview