mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 18:38:22 +00:00
add plugin wrapper
This commit is contained in:
parent
3794296e45
commit
480f2c85b7
1 changed files with 9 additions and 0 deletions
9
client/src/plugins.ts
Normal file
9
client/src/plugins.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import { useRouter } from 'vue-router';
|
||||
import { useToast } from "vue-toast-notification";
|
||||
|
||||
export default function initiateCommonPlugins() {
|
||||
const router = useRouter();
|
||||
const toast = useToast();
|
||||
|
||||
return { router, toast };
|
||||
}
|
Loading…
Add table
Reference in a new issue