Commit 539a1ab9 authored by Vadym Gidulian's avatar Vadym Gidulian

Added `window.app` variable that is root Vue app instance

parent d65c3ac7
...@@ -11,3 +11,7 @@ var app = new Vue({ ...@@ -11,3 +11,7 @@ var app = new Vue({
this.$store.dispatch('fetchData'); this.$store.dispatch('fetchData');
} }
}); });
if (process.env.NODE_ENV !== 'production') {
window.app = app;
}
Markdown is supported
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