File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 1818 const render = root . firstChild ?. nextSibling ? hydrate : mount ;
1919
2020 const component = render ( App , {
21- target : document . getElementById ( 'root' ) ,
22- uidPrefix : 'myPrefix'
21+ target : document . getElementById ( 'root' )
2322 } ) ;
2423 </ script >
2524 </ body >
Original file line number Diff line number Diff line change @@ -23,9 +23,7 @@ polka()
2323 const template = fs . readFileSync ( path . resolve ( __dirname , 'index.html' ) , 'utf-8' ) ;
2424 const transformed_template = await vite . transformIndexHtml ( req . url , template ) ;
2525 const { default : App } = await vite . ssrLoadModule ( '/src/App.svelte' ) ;
26- const { head, body } = render ( App , {
27- uidPrefix : 'myPrefix'
28- } ) ;
26+ const { head, body } = render ( App ) ;
2927
3028 const html = transformed_template
3129 . replace ( `<!--ssr-head-->` , head )
You can’t perform that action at this time.
0 commit comments