This project is a fork of samydoesit/vue-turbo-starter, I prefer using Tailwind CSS for my works, so I’ve adapted it to fit my needs. This turborepo uses pnpm as a packages manager. It includes the following packages/apps:
nuxt
: another Nuxt3 app - https://localhost:3000/storybook
: another Storybook - https://localhost:6006/histoire
: Histoire - https://localhost:6007/ui
: a stub Vue component library shared by nuxt
, vite
and storybook
applicationsconfig
: eslint
configurations (includes nuxt/eslint-config standardjs flavor)Each package/app is TypeScript ready.
uses:
Create a repo from this template on GitHub.
If you prefer to do it manually with the cleaner git history
npx degit yoyoys/nuxt-monorepo-starter my-nuxt-monorepo
cd my-nuxt-monorepo
pnpm i # If you don't have pnpm installed, run: `corepack enable` (or use `npm i -g corepack` for Node.js < 20)
When you use this template, try follow the checklist to update your info properly
LICENSE
App.vue
vite.config.ts
| nuxt.config.ts
public
.github
folder which contains the funding infocorepack enable
(use npm i -g corepack
for Node.js < 20)pnpm install
pnpm dev
pnpm build
cd <repo-root>
# Storybook Dockerfile
docker build -f apps/storybook/Dockerfile .
docker run -d -p 6006:6006 <image-id>
# Histoire Dockerfile
docker build -f apps/histoire/Dockerfile .
docker run -d -p 6006:6006 <image-id>
# Nuxt Dockerfile
docker build -f apps/nuxt/Dockerfile .
docker run -d -p 3000:3000 <image-id>