Skip to content
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.

React template with pre-rendering and TypeScript support

Notifications You must be signed in to change notification settings

amphineko/react-prerender-template

Repository files navigation

This template enables pre-rendering on React by utilizing renderToString() (or Server-Side Rendering to Disk).

React components will be rendered to their initial states into static HTMLs.

Usage

Calling npm run prerender:stage will compile your React application into a SSR-capable library.

Then calling npm run prerender will actually build your application using pre-rendered HTML template yielded from the previous step.

License

MIT

About

React template with pre-rendering and TypeScript support

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published