Turborepo + Sveltekit + PNPM + Tailwind + Histoire
This monorepo is a starter template powered by PNPMTurborepo, Sveltekit, TailWindCSS, and Histoire. It allows for easy development and organization of multiple apps and websites in a single repository.
To install the monorepo starter, follow these steps:
pnpm install
Symlink static assets:
To enable static assets in each app, symlink the static folder from the ./apps/+app/static
directory to every app’s ./apps/my-app/static
directory.
Symlink app routes:
If you want to link entire apps together as routes, symlink the ./apps/my-app/src/routes
directory to the ./apps/+app/src/routes
directory.
Add Components:
To add components, create them in the ./packages/components
directory.
Setup Prerequisites: Ensure you have the necessary prerequisites installed.
This monorepo starter provides a convenient way to develop and manage multiple apps and websites within a single repository. It offers features such as symlinked routes and static assets, support for shared packages, and integration with popular tools like Sveltekit and TailwindCSS. With easy installation and setup, this starter template is a great choice for projects requiring a monorepo architecture.