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