2023-10-24 10:09:12 +00:00
|
|
|
// @ts-expect-error
|
|
|
|
import { styles } from '#primevue-style';
|
|
|
|
//import { useRuntimeConfig } from '#imports';
|
|
|
|
|
|
|
|
const defineNitroPlugin = (def) => def;
|
|
|
|
|
|
|
|
export default defineNitroPlugin(async (nitroApp) => {
|
|
|
|
nitroApp.hooks.hook('render:html', (html) => {
|
|
|
|
html.head.push(styles);
|
2024-03-05 09:22:33 +00:00
|
|
|
//html.head.push(themes);
|
|
|
|
//html.htmlAttrs.push('class="p-dark"'); // @todo
|
2023-10-24 10:09:12 +00:00
|
|
|
});
|
|
|
|
});
|