Skip to content
/ nuxt4-boilerplate Public template

Nuxt 4 starter - clean, fast, and scalable by Vite + Tailwind CSS + Nuxt UI + ESLint + Prettier + Testing (Vitest + Playwright) β€” everything you need to kickstart a modern Nuxt project πŸš€

License

Notifications You must be signed in to change notification settings

heydayle/nuxt4-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

73 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

img

πŸš€ Nuxt 4 Boilerplate / Nuxt 4 starter

Kickstart Your Nuxt Project – Preconfigured, Optimized, Ready to Code, Easy config!

Ready-to-use framework for Nuxt projects, pre-configured framework with essential libraries and tools, streamlining development and ensuring a clean, structured codebase.

[--> Live Demo <--]

Features

  • πŸš€ Nuxt 4 - Powerful Vue.js framework with high performance
  • πŸ“ Nuxt UI v3 - Fully styled and customizable components for Nuxt
  • 🎨 TailwindCSS v4 - Utility-first CSS framework for rapid design
  • 🌐 i18n - Multilingual support
    • English
    • Vietnamese
  • πŸ” Next-auth - Built-in authentication system
  • πŸ“Š Pinia - Global state managemen
  • πŸ›  VueUse - Collection of Essential Vue Composition Utilities
  • πŸͺ„ ESLint - All-in-one ESLint integration for Nuxt
  • πŸ§ͺ Testing - Vitest support for unit and integration tests, Playwright for e2e test.
  • πŸ” SEO Friendly - Optimized for search engines

System Requirements

  • Node.js 18.x or higher
  • npm or yarn or pnpm (recommend)

Installation

# Clone repository
git clone https://github.com/heydayle/nuxt-boilerplate.git
cd nuxt-boilerplate

# Install dependencies
pnpm install

Usage

Development Environment

Duplicate example.env and rename to .env and run:

# Start development server
pnpm dev

Access the application at http://localhost:3000

Production Build

# Build for production
pnpm build

# Run the built application
pnpm start

Project Structure

nuxt-boilerplate-v3/
    β”œβ”€β”€ app/
    β”‚    β”œβ”€β”€ assets/            # Static assets (images, fonts, etc.)
    β”‚    β”œβ”€β”€ components/        # Reusable Vue components
    β”‚    β”œβ”€β”€ composables/       # Vue composables
    β”‚    β”œβ”€β”€ layouts/           # Page layouts
    β”‚    β”œβ”€β”€ middleware/        # Nuxt middleware
    β”‚    β”œβ”€β”€ pages/             # Application pages
    β”‚    β”‚      └── index.vue   # Homepage
    β”‚    β”œβ”€β”€ plugins/           # Nuxt plugins
    β”‚    β”œβ”€β”€ utils/             # Utility functions
    β”‚    β”œβ”€β”€ app.config.ts      # App configuration
    β”‚    └── app.vue            # App root
    β”œβ”€β”€ i18n/                   # i18n 
    β”‚    └── locales/           # Language json
    β”œβ”€β”€ content/                # Nuxt Content files
    β”œβ”€β”€ public/                 # Public static files
    β”œβ”€β”€ server/                 # Server API endpoints and middleware
    β”œβ”€β”€ stores/                 # Pinia stores
    β”œβ”€β”€ .env                    # Environment variables
    β”œβ”€β”€ content.config.ts       # Nuxt Content configuration
    β”œβ”€β”€ nuxt.config.ts          # Nuxt configuration
    β”œβ”€β”€ README.md               
    └── tsconfig.json           # TypeScript configuration

Contributing

We welcome all contributions to improve this project!

How to Contribute

  1. Fork this repository
  2. Create a new branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Contribution Guidelines

  • Ensure your code follows the project's naming conventions and formatting
  • Add tests for any new features or bug fixes if possible
  • Update documentation when necessary
  • Describe your changes in detail in the Pull Request

License

This project is distributed under the MIT License. See the LICENSE file for more information.

Contact


Built with ❀️ by heydayle

About

Nuxt 4 starter - clean, fast, and scalable by Vite + Tailwind CSS + Nuxt UI + ESLint + Prettier + Testing (Vitest + Playwright) β€” everything you need to kickstart a modern Nuxt project πŸš€

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published