parent
0492707f7f
commit
19ad6d7044
|
@ -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
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue