From 9c95e6d28591c6cfe8832093f4dde2c482b6fe00 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Sat, 1 Jun 2024 10:58:24 +0300 Subject: [PATCH] Move our resources as first element --- modules/nuxt-primevue/runtime/plugin.server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }); });