Adds brandingStore.

Split userStore into userProfileStore and creatorProfileStore
This commit is contained in:
2024-09-22 02:42:26 -04:00
parent 3cfb3951e3
commit cd51474d08
36 changed files with 458 additions and 639 deletions

View File

@@ -11,8 +11,9 @@ import * as directives from 'vuetify/directives'
import vueGoogleOauth from 'vue3-google-login'
import {useSubscriptionStore} from "@/stores/subscriptionStore.js";
import {useAuthStore} from "@/stores/authStore.js";
import {useUserStore} from "@/stores/userStore.js";
import i18n from './i18n.js';
import {useUserProfileStore} from "@/stores/userProfileStore.js";
import {useCreatorProfileStore} from "@/stores/creatorProfileStore.js";
const vuetify = createVuetify({
components,
@@ -31,9 +32,10 @@ const app = createApp(App)
// Make $t globally available
app.config.globalProperties.$t = i18n.global.t;
// this force the creation of the stores
const subscriptionStore = useSubscriptionStore()
const authStore = useAuthStore()
const userStore = useUserStore()
// this force the creation and initialization of the stores
useSubscriptionStore()
useAuthStore()
useUserProfileStore()
useCreatorProfileStore()
app.mount('#app');