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 c8aba0a commit 9000149Copy full SHA for 9000149
playgrounds/sandbox/ssr-dev.js
@@ -23,9 +23,7 @@ polka()
23
const template = fs.readFileSync(path.resolve(__dirname, 'index.html'), 'utf-8');
24
const transformed_template = await vite.transformIndexHtml(req.url, template);
25
const { default: App } = await vite.ssrLoadModule('/src/App.svelte');
26
- const { head, body } = render(App, {
27
- idPrefix: 'hello'
28
- });
+ const { head, body } = render(App);
29
30
const html = transformed_template
31
.replace(`<!--ssr-head-->`, head)
0 commit comments