Commit 40034f9d authored by jackie / Andrea Ida Malkah Klaura's avatar jackie / Andrea Ida Malkah Klaura
Browse files

META: add vue-devtools and temporary prod debug

For vue-devtools see https://github.com/vuejs/vue-devtools
parent dd228201
This diff is collapsed.
...@@ -4,6 +4,10 @@ import router from './router' ...@@ -4,6 +4,10 @@ import router from './router'
import BootstrapVue from 'bootstrap-vue' import BootstrapVue from 'bootstrap-vue'
import VueLogger from 'vuejs-logger'; import VueLogger from 'vuejs-logger';
// Use this if you also have to debug a production build
// Only use it temporarily!
// Vue.config.devtools = true // WARNING: Do not commit this line!
Vue.use(VueLogger, { Vue.use(VueLogger, {
isEnabled: true, isEnabled: true,
logLevel : ['debug', 'info', 'warn', 'error', 'fatal'].indexOf(process.env.VUE_APP_LOGLEVEL) === -1 ? 'warn' : process.env.VUE_APP_LOGLEVEL, logLevel : ['debug', 'info', 'warn', 'error', 'fatal'].indexOf(process.env.VUE_APP_LOGLEVEL) === -1 ? 'warn' : process.env.VUE_APP_LOGLEVEL,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment