diff --git a/packages/svelte/src/createInertiaApp.js b/packages/svelte/src/createInertiaApp.js index facb5e625..ff285ac3a 100644 --- a/packages/svelte/src/createInertiaApp.js +++ b/packages/svelte/src/createInertiaApp.js @@ -44,11 +44,14 @@ export default async function createInertiaApp({ id = 'app', resolve, setup, pro } if (isServer) { - const { html, head } = SSR.render({ id, initialPage }) + const { html, head, css } = SSR.render({ id, initialPage }) return { body: html, - head: [head], + head: [ + head, + ``, + ], } } }