mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
724 B
19 lines
724 B
import {defineNuxtPlugin} from "#app"; |
|
import PrimeVue from "primevue/config"; |
|
import Button from "primevue/button"; |
|
import InputText from "primevue/inputtext"; |
|
import Toast from "primevue/toast"; |
|
import Card from "primevue/card"; |
|
import Sidebar from "primevue/sidebar"; |
|
import ToastService from 'primevue/toastservice'; |
|
|
|
export default defineNuxtPlugin((nuxtApp) => { |
|
nuxtApp.vueApp.use(PrimeVue, {ripple: true}); |
|
nuxtApp.vueApp.use(ToastService); |
|
nuxtApp.vueApp.component('Button', Button); |
|
nuxtApp.vueApp.component('InputText', InputText); |
|
nuxtApp.vueApp.component('Toast', Toast); |
|
nuxtApp.vueApp.component('Card', Card); |
|
nuxtApp.vueApp.component('Sidebar', Sidebar); |
|
//other components that you need |
|
});
|
|
|