Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 1.23 KB

File metadata and controls

56 lines (41 loc) · 1.23 KB

Unlock Server Side Rendering with Nitro

Talk by Dani Akash on converting legacy websites to server-side rendering using Vite and Nitro.

Event

About the talk

This talk is a practical walkthrough of how to move a legacy client-rendered site toward SSR using Vite and Nitro. The repo includes the original legacy app, the Nitro-based SSR version, supporting content, and the slide deck used in the session.

Repository structure

legacy-app/    Legacy client-rendered app used as the starting point
nitro-app/     Vite + Nitro SSR version
content/       Example content consumed by the Nitro app
nitro-slides/  Presentation deck for the talk

Running the legacy app

cd legacy-app
npm install
npm start

Running the Nitro app

cd nitro-app
npm install
npm run dev

To build and preview the Nitro app:

cd nitro-app
npm run build
npm run preview

Running the slides

cd nitro-slides
npm install
npm start