Revert "Move our resources as first element"

This reverts commit 9c95e6d285.
pull/5838/head
Cagatay Civici 2024-06-05 12:10:27 +03:00
parent 0492707f7f
commit 19ad6d7044
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ const defineNitroPlugin = (def) => def;
export default defineNitroPlugin(async (nitroApp) => { export default defineNitroPlugin(async (nitroApp) => {
nitroApp.hooks.hook('render:html', (html) => { nitroApp.hooks.hook('render:html', (html) => {
html.head.unshift(styles); html.head.push(styles);
html.head.unshift(themes); html.head.push(themes);
//html.htmlAttrs.push('class="p-dark"'); // @todo //html.htmlAttrs.push('class="p-dark"'); // @todo
}); });
}); });