Skip to content

Nuxt 3 starter template with ESLint - Prettier - Husky - Lint-Staged - Typescript - Vitest - Commitlint - Tailwind

Notifications You must be signed in to change notification settings

halilcagriakkuzu/nuxt-3-optimal-starter-template

Repository files navigation

Nuxt 3 Optimal Starter Template

Nuxt 3 starter template with most used tools

  • Typescript
  • ESLint
    • @typescript-eslint
  • Prettier
    • @trivago/prettier-plugin-sort-imports
    • prettier-plugin-organize-attributes
    • prettier-plugin-tailwindcss
  • Husky
    • Configured pre-commit to lint-staged
    • Configured commit-msg to commitlint
  • Vitest
    • @nuxt/test-utils
  • Tailwind

Setup

Optional: use pnpm https://pnpm.io/installation

Make sure to install the dependencies:

# pnpm
pnpm install
pnpm postinstall

# to install husky hooks
pnpm prepare

Development Server

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

pnpm dev

Test

To run tests:

pnpm test

Production

Build the application for production:

pnpm build

Locally preview production build:

pnpm preview

About

Nuxt 3 starter template with ESLint - Prettier - Husky - Lint-Staged - Typescript - Vitest - Commitlint - Tailwind

Resources

Stars

Watchers

Forks

Packages

No packages published