mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-18 05:45:25 +03:00
Add Vue devtools to the debug mode
This commit is contained in:
parent
0d87c1ab5c
commit
2384fb731f
3 changed files with 84 additions and 4 deletions
|
@ -23,6 +23,11 @@ const betaflightModel = {
|
|||
PortUsage,
|
||||
};
|
||||
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
console.log("Development mode enabled, installing Vue tools");
|
||||
Vue.config.devtools = true;
|
||||
}
|
||||
|
||||
const app = new Vue({
|
||||
i18n: vueI18n,
|
||||
data: betaflightModel,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue