Vite SSR template with Pnpm Monorepo, support React@18 and TypeScript
pnpmfastify@3vite@2typescript@4react@18: @emotion/react + react-router@6 + react-helmet-asyncsvelte@3eslinthusky@6With node.js 16 & pnpm, default app is
react-app, if you want to usesvelte-app, you can editserver/fastify.tsto use it. If you don't needsvelte-app, just delete it.
You can replace @my-monorepo globally with your monorepo space.
git clone https://github.com/wzhzzmzzy/vite-ssr-monorepo-template
pnpm i
pnpm run dev
open https://localhost:3001
pnpm run build:react # use build:svelte if you need
pnpm run serve