mirror of https://github.com/nocodb/nocodb
Pranav C
2 years ago
5 changed files with 37 additions and 32 deletions
@ -1,29 +0,0 @@
|
||||
// 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
|
||||
}) |
@ -0,0 +1,8 @@
|
||||
import { defineNuxtPlugin } from 'nuxt/app' |
||||
import Toast from 'vue-toastification' |
||||
// Import the CSS or use your own!
|
||||
import 'vue-toastification/dist/index.css' |
||||
|
||||
export default defineNuxtPlugin((nuxtApp) => { |
||||
nuxtApp.vueApp.use(Toast, {}) |
||||
}) |
Loading…
Reference in new issue