We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1157f84 commit 5fb1feeCopy full SHA for 5fb1fee
1 file changed
src/layouts/BasicLayout.vue
@@ -112,7 +112,10 @@ export default {
112
}
113
114
// first update color
115
- updateTheme(this.settings.primaryColor)
+ // TIPS: THEME COLOR HANDLER!! PLEASE CHECK THAT!!
116
+ if (process.env.NODE_ENV !== 'production' || process.env.VUE_APP_PREVIEW === 'true') {
117
+ updateTheme(this.settings.primaryColor)
118
+ }
119
},
120
methods: {
121
i18nRender,
0 commit comments