mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Move nuxt-primevue to showcase and change plugin names
This commit is contained in:
parent
466ff52431
commit
5440d3d6ea
14 changed files with 583 additions and 303 deletions
11
modules/nuxt-primevue/runtime/plugin.server.js
Normal file
11
modules/nuxt-primevue/runtime/plugin.server.js
Normal 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);
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue