π Opinionated Nuxt, Tailwind & Storybook monorepo template
inspired by antfu vitesse nuxt
- π Nuxt 3 - SSR, ESR, File-based routing, components auto importing, modules, etc.
- π€ Optimized for VSCode usage
- β‘οΈ Vite - Instant HMR
- β¨ Vitest - A blazing fast unit test framework
- π Monorepo - workspace setup using pnpm
- π¬οΈ Tailwind 4 - the utility-first CSS framework
- ποΈ Storybook - build UI components and pages in isolation
- π Color Mode - dark, light & custom mode integrated in Tailwind and Nuxt
- π₯ The
<script setup>
syntax - π State Management via Pinia, see ./stores/AuthStore.ts
- π§Ή Vue Macros Explore and extend more macros and syntax sugar to Vue.
- π₯ APIs auto importing - for Composition API, VueUse, Components (localy & from design) and custom composables
- π¦Ύ TypeScript - JavaScript, but strongly typed and better
- VueUse - collection of useful composition APIs.
- ColorMode - dark and Light mode with auto detection made easy with Nuxt.
- Pinia - intuitive, type safe, light and flexible Store for Vue.
- Nuxt Devools - Unleash Nuxt Developer Experience.
# install all dependencies of the monorepo
pnpm install
# start webapp & storybook
pnpm dev
# start dev webapp
pnpm webapp dev
# build webapp for prod
pnpm webapp build
# start webapp for prod
pnpm webapp start
# start dev storybook
pnpm design dev
This Template is designed to provide great DX with VS Code and Volar.
Create a repo from this template on GitHub.
If you prefer to do it manually with the cleaner git history
npx degit lautr/initium-nuxt my-nuxt3-app
cd my-nuxt3-app
pnpm i # If you don't have pnpm installed, run: npm install -g pnpm