diff --git a/modules/nuxt-primevue/runtime/plugin.server.js b/modules/nuxt-primevue/runtime/plugin.server.js index 2b5e8f6a3..01eaea3ac 100644 --- a/modules/nuxt-primevue/runtime/plugin.server.js +++ b/modules/nuxt-primevue/runtime/plugin.server.js @@ -6,8 +6,8 @@ const defineNitroPlugin = (def) => def; export default defineNitroPlugin(async (nitroApp) => { nitroApp.hooks.hook('render:html', (html) => { - html.head.push(styles); - html.head.push(themes); + html.head.unshift(styles); + html.head.unshift(themes); //html.htmlAttrs.push('class="p-dark"'); // @todo }); });