Enable nuxt-module
parent
8574a61891
commit
2c65e1b3fd
|
@ -22,13 +22,11 @@ export default defineNuxtConfig({
|
|||
'/installation': { redirect: { to: '/vite', statusCode: 301 } }
|
||||
},
|
||||
primevue: {
|
||||
usePrimeVue: false,
|
||||
usePrimeVue: true,
|
||||
options: {
|
||||
ripple: true
|
||||
},
|
||||
unstyled: false,
|
||||
layerOrder: 'primevue',
|
||||
//importTheme: { from: '@/themes/app-theme.js' },
|
||||
importTheme: { from: '@/themes/app-theme.js' },
|
||||
resolvePath: function ({ as, from, type }) {
|
||||
const resolvedPath = from.replace('primevue', '@/components/lib');
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
import Noir from '@/themes/app-theme.js';
|
||||
import PrimeVue from 'primevue/config';
|
||||
import { reactive } from 'vue';
|
||||
|
||||
const $appState = {
|
||||
|
@ -19,5 +17,5 @@ const $appState = {
|
|||
|
||||
export default defineNuxtPlugin((nuxtApp) => {
|
||||
nuxtApp.vueApp.use($appState);
|
||||
nuxtApp.vueApp.use(PrimeVue, { theme: Noir });
|
||||
//nuxtApp.vueApp.use(PrimeVue, { theme: Noir });
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue