UNPKG

@platform/react.ssr

Version:

A lightweight SSR (server-side-rendering) system for react apps bundled with ParcelJS and hosted on S3.

8 lines (7 loc) 205 B
import * as React from 'react'; import { Main } from './components/Main'; /** * SSR initial HTML */ const entries = [{ file: 'index.html', el: React.createElement(Main, null) }]; export default entries;