Skip to content

Repository files navigation

Modern Nuxt 3 Starter Template

Overview

A starter template built with Nuxt 3, for my needs. So I can quickly start a new project.

Features

  • Nuxt 3 - The intuitive Vue framework
  • TailwindCSS - Utility-first CSS framework
  • Pinia - Vue state management
  • pre setup directory structure

Prerequisites

  • Node.js (version 16.x or higher)
  • npm (version 7.x or higher)

Quick Start

  1. Clone the repository:
git clone <your-repo-url>
cd <project-name>
  1. Update dependencies to their latest versions:
npx npm-check-updates -u
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev

The application will be available at http://localhost:3000

Available Scripts

  • npm run dev - Start development server with hot reload
  • npm run build - Build for production
  • npm run preview - Preview production build
  • npm run lint - Lint and fix files
  • npm run test - Run tests (if configured)

Project Structure

├── assets/            # Uncompiled assets
├────── css/            # CSS files 
├── components/        # Vue components
├── layouts/           # Layout components
├── pages/            # Application views
├── server/            # Server-side files
├───── api/            # API routes
├── stores/            # Store files
├── plugins/          # Plugin files
└──  public/           # Static files

Customization

Environment Variables

Create a .env file in the root directory:

NUXT_PUBLIC_API_BASE=your-api-url

Deployment

Build the application for production:

npm run build

Preview the production build:

npm run preview

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For support, please open an issue in the repository or contact the maintainers.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages