Closed xPand4B closed 4 years ago
File: src/Frontend/Resources/app/app.js
Code:
+store.dispatch(
+ 'attempt', localStorage.getItem('jwt')
+).then(() => {
new Vue({
el: '#app',
components: { App },
router,
store,
vuetify,
}).$mount('#app');
+});
Describe the bug If the user has dark mode activated, the
LayoutDefault
component will set thevuetify
theme to dark. If this happens it takes about .5s to switch from light to dark mode. This should be fixed.To Reproduce
Expected behavior Load dark mode without showing light theme first.