Move our resources as first element

pull/5838/head
Cagatay Civici 2024-06-01 10:58:24 +03:00
parent 8d10e36cc8
commit 9c95e6d285
1 changed files with 2 additions and 2 deletions

View File

@ -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
});
});