A starter template built with Nuxt 3, for my needs. So I can quickly start a new project.
- Nuxt 3 - The intuitive Vue framework
- TailwindCSS - Utility-first CSS framework
- Pinia - Vue state management
- pre setup directory structure
- Node.js (version 16.x or higher)
- npm (version 7.x or higher)
- Clone the repository:
git clone <your-repo-url>
cd <project-name>- Update dependencies to their latest versions:
npx npm-check-updates -u- Install dependencies:
npm install- Start the development server:
npm run devThe application will be available at http://localhost:3000
npm run dev- Start development server with hot reloadnpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Lint and fix filesnpm run test- Run tests (if configured)
├── 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
Create a .env file in the root directory:
NUXT_PUBLIC_API_BASE=your-api-urlBuild the application for production:
npm run buildPreview the production build:
npm run previewThis project is licensed under the MIT License - see the LICENSE file for details.
For support, please open an issue in the repository or contact the maintainers.