๐ Opinionated Nuxt, Tailwind & Storybook monorepo for Nuxt 3 frontend webapps
<script setup>
syntax~/apps/webapp
Contains all general logic that is tightly coupled with nuxt
~/apps/!(webapp)
All platform specific applications
~/packages/design
Design System, contains abstract vue components & logic that couples applications with design elements
~/packages/modules
Build Modules and so forth
~/packages/services
All general logic that isn't tightly coupled to vue or nuxt and could be used in other JS/Node contexts.
~/packages/translations
All Translations
This Template is designed to provide great DX with VS Code and Volar.
TBD
There are several ways to run the monorepo project:
pnpm dev
from monorepo root - run all apps together as well as run storybook. Each app accessible via http://localhost:{port}/
. List of ports can be found in package.json
.pnpm %app% dev
from monorepo root - run specific app (e.g. pnpm webapp dev
). App accessible via http://localhost:3000/
.cd apps/webapp && pnpm dev
).By launching all applications or one is strictly recommended to run pnpm install
or pnpm i
to install all dependencies beforehand. It needs because of renovate
plugin that constantly updates dependencies in all packages.