Skip to content
/ nuxt-starter Public template

Fully configured Nuxt 3 Starter-Kit (ASAP Nuxt 4) featuring TypeScript, Vitest, ESLint, Pinia, Tailwind + SCSS and Husky and more - optimized and ready to power robust, real-world applications - to kickstart your next project,

License

Notifications You must be signed in to change notification settings

lazercaveman/nuxt-starter

Repository files navigation

Release Badge Nuxt 3 MIT License

Nuxt 3 Starter / (will switch to Nuxt 4 Starter ASAP)

This repo will switch to Nuxt 4 as soon as it is officially released.

🔥 You can already preview and already download the Nuxt 4 version here.

Screenshot

🥸 Why this template?

Get ready to supercharge your development with this fully configured Nuxt 3 Starter Kit! Built on Vue 3 and powered by TypeScript and many other technologies (for more information see down-below or checkout package.json for even more), this setup comes preloaded with tools and libraries designed to enhance your workflow, streamline development, and maintain high-quality code. 🙌 No more wrestling with configurations—jump straight into building amazing projects!

  • Clean up project in seconds: Using the yarn script:cleanup command in your terminal, will clean up the project, remove demo contents - the Starter Kit is designed so that developers can start working immediately without having to spend time setting up basic structures and configurations.
  • Up to date: Using up to date dependencies and tools to ensure a smooth development experience. (at least I try ^^)
  • Batteries-Included The Starter Kit uses lots of well kind of "standard dependencies" fully configured and ready to go.
  • MIT License: Allows commercial use, modification, distribution, and of course private use as well - for more read the MIT License.

--

🚀 Getting Started

  1. Clone or download this repository
  2. Ensure you have Node version v22.13.0 up an running
  3. Make sure you have yarn version 4.6.0. (running corepack enable should do the trick - using the package manager of your choice should also work 😉).
  4. Run yarn or yarn install to install dependencies
  5. Run yarn dev to start the local development environment

🧹 Comes with Auto-Clean-Script

Nuxt-Starter is delivered with a range of example content – including sample components, tests, and store configurations. If you'd prefer to start with a clean setup, simply run the following CLI command in your terminal yarn script:cleanup - this command offers an easy, one-step process to prepare your Nuxt 3 project for a fresh start.

  • It empties the contents of './components', './tests' and ./store while keeping the directories intact.
  • It completely deletes the './.assets/img', './coverage', './.github', './.vscode', './.git' folder, and all its contents. 🚨 Since the .git folder will be deleted your project will be disconnected from this repository.
  • The cleaning script is set up to delete itself after execution, ensuring that your project is as lean as possible once you’ve cleaned up the examples - therefor it will delete the script file as well as the npm script 'script:cleanup' from the package.json file.
  • It will delete the node_modules, .nuxt and .output folders, empty the yarn-cache and reinstall everything from scratch.

--

🚀 What's Inside?

This starter kit is packed with carefully chosen dependencies to handle real-world scenarios. Here’s why they’re included:

⚡️ Vite

Why? Because it’s blazing fast. Vite ensures instant builds and on-demand compilation, making both development and production smoother and quicker. learn more.

🏗️ ESLint

ESLint V9 with a "Flat Config setup" tailored for TypeScript and Vue 3 or Nuxt 3 - it is configured to use best practices integrating some plugins (eslint:recommended, typescript-eslint, and eslint-plugin-vue) - wanna change them!? just add some custom rules to meet your team's needs to ensure clean, maintainable, and standard-compliant code quality. learn more.

🧪 Vitest

To test smarter and faster. Vitest is a lightweight, Jest-compatible testing framework that ensures code reliability and helps you catching bugs early. learn more.

🐶 Husky

Husky enforces pre-push hooks, ensuring quality checks are performed before code is pushed to the repository. The pre-push hook runs automated tasks like linting & tests preventing errors in the main branch. This workflow helps catch issues early, ensuring a clean and stable codebase. learn more.

💅 Tailwind CSS

Tailwind CSS is a highly effective utility-first CSS framework that greatly enhances the styling of a Nuxt project. Tailwind's zero-runtime feature further adds to its performance, making it a valuable addition to a Nuxt project looking to achieve high-quality and optimized styling. learn more.

👩‍🎤 Sass

For flexibility in styling. Use SCSS to add custom styles when needed - SCSS definitions should not use @apply (more information can be found within the tailwind documentation). However using SCSS alongside Tailwind can be an option for stuff like animations or other things that are not solvable convenient using Tailwind (or of course instead of tailwind if this is what you prefer). learn more.

🍍 Pinia

To manage app state easily. Pinia is modern, simple, and works perfectly with Vue 3 and Nuxt 3, for scalable state management. learn more.

🤌 TypeScript

TypeScript enhances the JavaScript language by adding optional static typing and other features, for safer, smarter code - helping avoiding errors and catching bugs early in development. learn more.

🤝 Contributing

Feel free to fork this project and submit pull requests — contributions are very welcome!

📜 License

Licensed under the MIT License.

About

Fully configured Nuxt 3 Starter-Kit (ASAP Nuxt 4) featuring TypeScript, Vitest, ESLint, Pinia, Tailwind + SCSS and Husky and more - optimized and ready to power robust, real-world applications - to kickstart your next project,

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published