vue-nestjs-ssr-starter
March 12, 2026 ยท View on GitHub
A lightweight full-stack SSR starter with Vue 3, NestJS, Fastify, PrimeVue, and Rsbuild.
Tech Stack
- Vue 3 + Vue Router (SSR) + PrimeVue
- NestJS + Fastify
- Rsbuild 2 + TypeScript
- Sequelize + SQLite (
:memory:) - Zod +
nestjs-zod
Requirements
- Node.js >= 22.6.0
- npm
Quick Start
npm install
npm run dev
Default development URL: http://localhost:8888/development
Scripts
npm run devnpm run buildnpm run previewnpm run lintnpm run type-check
Project Layout
eng/ # Engineering configuration
scripts/ # Build and development bootstrap
src/client/ # Frontend and SSR app composition
src/server/ # Nest service and SSR/API modules
src/shared/ # Shared code for frontend and backend
TODO
- The project currently suffers from a FOUC (Flash of Unstyled Content) issue during SSR. PrimeVue styles are not inlined at server render time, causing a visible style flash on first load. This needs to be resolved upstream by the PrimeVue community. Tracking: https://github.com/primefaces/primevue/issues/7289, https://github.com/primefaces/primevue/issues/8044
License
MIT