mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-19 09:51:35 +02:00
Set up the Start view
This commit is contained in:
19
resources/js_vue3/stores/bus.js
vendored
Normal file
19
resources/js_vue3/stores/bus.js
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import { defineStore } from 'pinia'
|
||||
|
||||
export const useBusStore = defineStore({
|
||||
id: 'bus',
|
||||
|
||||
state: () => {
|
||||
return {
|
||||
migrationUri: null,
|
||||
decodedUri: null,
|
||||
goBackTo: null,
|
||||
returnTo: null,
|
||||
initialEditMode: null,
|
||||
}
|
||||
},
|
||||
|
||||
actions: {
|
||||
|
||||
},
|
||||
})
|
16
resources/js_vue3/stores/data.js
vendored
Normal file
16
resources/js_vue3/stores/data.js
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import { defineStore } from 'pinia'
|
||||
|
||||
export const useDataStore = defineStore({
|
||||
id: 'data',
|
||||
|
||||
state: () => {
|
||||
return {
|
||||
twofaccounts: [],
|
||||
groups: [],
|
||||
}
|
||||
},
|
||||
|
||||
actions: {
|
||||
|
||||
},
|
||||
})
|
Reference in New Issue
Block a user