fix: SSR does config
This commit is contained in:
parent
5b37c1f667
commit
00b598c295
|
@ -51,7 +51,7 @@ class InlineConfig extends Transform {
|
||||||
'<body>',
|
'<body>',
|
||||||
`<div id="${appMountId}-container">`,
|
`<div id="${appMountId}-container">`,
|
||||||
`<script data-flecks="ignore">window.document.querySelector('#${appMountId}-container').style.display = 'none'</script>`,
|
`<script data-flecks="ignore">window.document.querySelector('#${appMountId}-container').style.display = 'none'</script>`,
|
||||||
`<script>${await configSource(this.flecks, this.req)}</script>`,
|
`<script data-flecks="ignore">${await configSource(this.flecks, this.req)}</script>`,
|
||||||
`<div id="${appMountId}"></div>`,
|
`<div id="${appMountId}"></div>`,
|
||||||
'</div>',
|
'</div>',
|
||||||
].join(''),
|
].join(''),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user