primevue-mirror/modules/nuxt-primevue/runtime/plugin.server.js

14 lines
393 B
JavaScript
Raw Normal View History

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