Move nuxt-primevue to showcase and change plugin names

This commit is contained in:
mertsincan 2023-10-24 11:09:12 +01:00
parent 466ff52431
commit 5440d3d6ea
14 changed files with 583 additions and 303 deletions

View file

@ -0,0 +1,11 @@
// @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);
});
});