From 19ad6d7044fe034114c7fb0b98ca49a65740e480 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Wed, 5 Jun 2024 12:10:27 +0300 Subject: [PATCH] Revert "Move our resources as first element" This reverts commit 9c95e6d28591c6cfe8832093f4dde2c482b6fe00. --- 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 01eaea3ac..2b5e8f6a3 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.unshift(styles); - html.head.unshift(themes); + html.head.push(styles); + html.head.push(themes); //html.htmlAttrs.push('class="p-dark"'); // @todo }); });