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-01 07:58:24 +00:00
|
|
|
html.head.unshift(styles);
|
|
|
|
html.head.unshift(themes);
|
2024-03-05 09:22:33 +00:00
|
|
|
//html.htmlAttrs.push('class="p-dark"'); // @todo
|
2023-10-24 10:09:12 +00:00
|
|
|
});
|
|
|
|
});
|