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.
29 lines
1.1 KiB
29 lines
1.1 KiB
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 Message from "primevue/message"; |
|
import TabMenu from "primevue/tabmenu"; |
|
import DataTable from "primevue/datatable"; |
|
import Column from "primevue/column"; |
|
import Dropdown from "primevue/dropdown"; |
|
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); |
|
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 |
|
});
|
|
|