diff --git a/public/index.html b/public/index.html index bc51465..581d6c6 100644 --- a/public/index.html +++ b/public/index.html @@ -8,12 +8,27 @@ <%= htmlWebpackPlugin.options.title %> + + +
+ diff --git a/src/App.vue b/src/App.vue index c7422df..9f36b45 100644 --- a/src/App.vue +++ b/src/App.vue @@ -31,9 +31,9 @@ export default { ], }), mounted() { - // console.log("root", this.$store); + console.log("root", this.$store); this.$store.dispatch("user/setUser", { usuario: "teste" }); - console.log("mounted - App.vue - root"); + console.log("%c mounted - App.vue - root", "color: #bada55;"); }, methods: { changeMenuState() { diff --git a/src/bootstrap.js b/src/bootstrap.js index 6d10519..8d51b01 100644 --- a/src/bootstrap.js +++ b/src/bootstrap.js @@ -7,6 +7,15 @@ import store from "./store"; import userConfig from "./helper-modules/user.module"; import emitters from "store/emitters"; +const FeatFlag = Vue.extend({ + computed: { + $mode() { + return "Mode"; + }, + }, +}); +Vue.mixin(FeatFlag); + Vue.config.productionTip = false; Vue.use(VueRouter); diff --git a/src/components/Menu.vue b/src/components/Menu.vue index 66776c3..0d25029 100644 --- a/src/components/Menu.vue +++ b/src/components/Menu.vue @@ -35,7 +35,8 @@ export default { mounted() { emitters.helpers.listen(emitters.EVENT_KEYS.USER, () => console.log( - "listen - root Menu - called from root: ", + "%c listen - root Menu - called from root: ", + "color: #bada55;", (this.user = emitters.helpers.userData().name.first) ) );