Skip to content

Commit

Permalink
Adding the vuetify stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
purejgleason committed Sep 29, 2022
1 parent a1bcf74 commit bd2baf5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/components/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
>
Login
</button>
<v-app>
<v-btn></v-btn>
</v-app>
</div>
</template>
<script setup>
Expand Down
9 changes: 8 additions & 1 deletion src/vue-app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ import {createApp} from 'vue';
import App from './App.vue';
import {mainRoutes} from './router/index.mjs';
import {createAuth0} from '@auth0/auth0-vue';
const { createVuetify } = Vuetify



class VueApp {
async bootstrap() {
const vuetify = createVuetify()
const response = await axios.get('/environment'); // eslint-disable-line no-unused-vars
this.env = response.data;
this.app = createApp(App);
Expand All @@ -20,7 +24,10 @@ class VueApp {
console.info('No Auth0 Config Found, Authentication unavailable');
this.app.config.globalProperties.$authConfigured = false;
}
return this.app.use(mainRoutes)

return this.app
.use(vuetify)
.use(mainRoutes)
.mount('#app');
}
}
Expand Down

0 comments on commit bd2baf5

Please sign in to comment.