feat: pivot to social media workflow app
This commit is contained in:
@@ -21,13 +21,18 @@ import {
|
||||
import vueGoogleOauth from 'vue3-google-login';
|
||||
import { useAuthStore } from '@/stores/authStore.js';
|
||||
import { useUserProfileStore } from '@/stores/userProfileStore.js';
|
||||
import { useCreatorProfileStore } from '@/stores/creatorProfileStore.js';
|
||||
import Toast, { POSITION } from 'vue-toastification';
|
||||
import 'vue-toastification/dist/index.css';
|
||||
import './assets/main.css';
|
||||
import { createI18n } from 'vue-i18n';
|
||||
import en from '@/locales/en.json';
|
||||
import fr from '@/locales/fr.json';
|
||||
import { useWorkspaceStore } from '@/stores/workspaceStore.js';
|
||||
import { useReviewQueueStore } from '@/stores/reviewQueueStore.js';
|
||||
import { useContentItemsStore } from '@/stores/contentItemsStore.js';
|
||||
import { useClientsStore } from '@/stores/clientsStore.js';
|
||||
import { useProjectsStore } from '@/stores/projectsStore.js';
|
||||
import { useNotificationsStore } from '@/stores/notificationsStore.js';
|
||||
import { useChannelsStore } from '@/stores/channelsStore.js';
|
||||
import { i18n } from '@/plugins/i18n.js';
|
||||
import config from '@/config.js';
|
||||
|
||||
const vuetify = createVuetify({
|
||||
components: {
|
||||
@@ -51,15 +56,6 @@ const vuetify = createVuetify({
|
||||
},
|
||||
});
|
||||
|
||||
const i18n = createI18n({
|
||||
legacy: false,
|
||||
fallbackLocale: 'fr',
|
||||
messages: {
|
||||
en: en,
|
||||
fr: fr,
|
||||
},
|
||||
});
|
||||
|
||||
const pinia = createPinia();
|
||||
|
||||
const app = createApp(App)
|
||||
@@ -68,7 +64,7 @@ const app = createApp(App)
|
||||
.use(router)
|
||||
.use(i18n)
|
||||
.use(vueGoogleOauth, {
|
||||
clientId: import.meta.env.VITE_GOOGLE_CLIENT_ID,
|
||||
clientId: config.googleClientId,
|
||||
})
|
||||
.use(Toast, {
|
||||
position: POSITION.TOP_CENTER,
|
||||
@@ -76,6 +72,12 @@ const app = createApp(App)
|
||||
|
||||
useAuthStore();
|
||||
useUserProfileStore();
|
||||
useCreatorProfileStore();
|
||||
useWorkspaceStore();
|
||||
useClientsStore();
|
||||
useProjectsStore();
|
||||
useChannelsStore();
|
||||
useReviewQueueStore();
|
||||
useContentItemsStore();
|
||||
useNotificationsStore();
|
||||
|
||||
app.mount('#app');
|
||||
|
||||
Reference in New Issue
Block a user