We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 123b5cb commit 69d2480Copy full SHA for 69d2480
playgrounds/demo/dist/index.js
@@ -1,11 +1,11 @@
1
import fs from 'node:fs';
2
import path from 'node:path';
3
import express from 'express';
4
-import { head, html } from './server/entry-server.js';
+import { head, body } from './server/entry-server.js';
5
6
const rendered = fs
7
.readFileSync(path.resolve('./dist/client/index.html'), 'utf-8')
8
- .replace(`<!--ssr-html-->`, html)
+ .replace(`<!--ssr-html-->`, body)
9
.replace(`<!--ssr-head-->`, head);
10
11
express()
0 commit comments