Skip to content

Commit

Permalink
Add setup view
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpereira committed Apr 20, 2023
1 parent d9cdae4 commit 39f50a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ import.meta.glob('@/assets/css/main.css', { eager: true })
import.meta.glob('../config/style/*.{scss,css}', { eager: true })

import App from './App.vue'
import SetupApp from './modules/setup/views/Index.vue'
import { createPinia } from 'pinia'
import { createSSRApp } from 'vue'
import { createRouter } from './router'

export function createApp() {
const app = createSSRApp(App)
const isAPIConfigurationSet = __APP_ENV__.url && __APP_ENV__.project_token
const app = createSSRApp(isAPIConfigurationSet ? App : SetupApp)
const router = createRouter()
const store = createPinia()

Expand Down

0 comments on commit 39f50a8

Please sign in to comment.