openc3-cosmos-init/plugins/openc3-tool-base/src/openc3-tool-base.js
import Vue from 'vue'
import App from './App.vue'
import router from './router'
Vue.config.productionTip = false
import store from '../../packages/openc3-tool-common/src/plugins/store'
import '../../packages/openc3-tool-common/src/assets/stylesheets/layout/layout.scss'
import vuetify from './plugins/vuetify'
import AstroStatusIndicator from '../../packages/openc3-tool-common/src/components/icons/AstroStatusIndicator'
Vue.component('astro-status-indicator', AstroStatusIndicator)
const options = OpenC3Auth.getInitOptions()
OpenC3Auth.init(options).then(() => {
// Set the scope variable that will be used for the life of this page load
// It is always default in standard edition
window.openc3Scope = 'DEFAULT'
new Vue({
router,
store,
vuetify,
render: (h) => h(App),
}).$mount('#openc3-main')
})