|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
import {defineNuxtPlugin} from "#app"; |
|
|
|
|
import { defineNuxtPlugin } from "#app"; |
|
|
|
|
import PrimeVue from "primevue/config"; |
|
|
|
|
import Button from "primevue/button"; |
|
|
|
|
import InputText from "primevue/inputtext"; |
|
|
|
@ -9,19 +9,21 @@ import Message from "primevue/message";
|
|
|
|
|
import TabMenu from "primevue/tabmenu"; |
|
|
|
|
import DataTable from "primevue/datatable"; |
|
|
|
|
import Column from "primevue/column"; |
|
|
|
|
import ToastService from 'primevue/toastservice'; |
|
|
|
|
import Dropdown from "primevue/dropdown"; |
|
|
|
|
import ToastService from "primevue/toastservice"; |
|
|
|
|
|
|
|
|
|
export default defineNuxtPlugin((nuxtApp) => { |
|
|
|
|
nuxtApp.vueApp.use(PrimeVue, {ripple: true}); |
|
|
|
|
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); |
|
|
|
|
nuxtApp.vueApp.component('Message', Message); |
|
|
|
|
nuxtApp.vueApp.component('TabMenu', TabMenu); |
|
|
|
|
nuxtApp.vueApp.component('DataTable', DataTable); |
|
|
|
|
nuxtApp.vueApp.component('Column', Column); |
|
|
|
|
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); |
|
|
|
|
nuxtApp.vueApp.component("Message", Message); |
|
|
|
|
nuxtApp.vueApp.component("TabMenu", TabMenu); |
|
|
|
|
nuxtApp.vueApp.component("DataTable", DataTable); |
|
|
|
|
nuxtApp.vueApp.component("Dropdown", Dropdown); |
|
|
|
|
nuxtApp.vueApp.component("Column", Column); |
|
|
|
|
//other components that you need
|
|
|
|
|
}); |
|
|
|
|