Starter kit for Nuxt3, Pinia, i18n, and Storybook as Monorepo
Before you can create a monorepo, make sure that you have Nodejs and pnpm installed on your machine
- Nodejs installation
- pnpm installation
This will install all packages for child apps.
nvm use
pnpm i
If npm install
exits with errors for peer dependancies in Vue packages:
- Remove storybook package entries from
package.json
- Run the following package installs manually.
npm install --save-dev @storybook/vue3 @storybook/addon-actions @storybook/addon-essentials @storybook/addon-interactions @storybook/addon-a11y @storybook/addon-links @storybook/testing-library storybook-i18n
npm install --save @storybook/builder-vite
pnpm run -r dev
pnpm run -r build
pnpm --filter baseapp run dev
Before you can use a new component, it needs installing:
pnpm i