UNPKG

create-react-ssr-layout

Version:

A useful tool to quickly build a starting express server that uses custom SSR with a custom jsx render engine

10 lines (6 loc) 158 B
import express from 'express'; const router = express.Router(); router.get('/', (req, res) => { res.json({ hello: 'world' }); }); export default router;