diff --git a/client/src/components/inputs/DropdownInput.vue b/client/src/components/inputs/DropdownInput.vue index 00f6f08..8e406d5 100644 --- a/client/src/components/inputs/DropdownInput.vue +++ b/client/src/components/inputs/DropdownInput.vue @@ -1,4 +1,19 @@ + diff --git a/client/src/components/inputs/SingleSelect.vue b/client/src/components/inputs/SingleSelect.vue index c657fcf..aef1eed 100644 --- a/client/src/components/inputs/SingleSelect.vue +++ b/client/src/components/inputs/SingleSelect.vue @@ -1,37 +1,42 @@ diff --git a/client/src/pages/test.vue b/client/src/pages/test.vue new file mode 100644 index 0000000..66f90b4 --- /dev/null +++ b/client/src/pages/test.vue @@ -0,0 +1,31 @@ + + diff --git a/client/src/plugins.ts b/client/src/plugins.ts index be2f551..038df71 100644 --- a/client/src/plugins.ts +++ b/client/src/plugins.ts @@ -1,6 +1,3 @@ -import { useRouter } from 'vue-router'; -import { useToast } from "vue-toast-notification"; - export default function initiateCommonPlugins() { const router = useRouter(); const toast = useToast(); diff --git a/client/vite.config.ts b/client/vite.config.ts index 846c521..73314c6 100644 --- a/client/vite.config.ts +++ b/client/vite.config.ts @@ -95,6 +95,10 @@ export default defineConfig({ 'vue/macros', '@vueuse/core', '@vueuse/head', + { + from: "vue-toast-notification", + imports: ["useToast"], + }, ], dts: 'src/generated/auto-imports.d.ts', dirs: ['src/composables'],