Skip to content

Commit

Permalink
Fix vue devtools not working in staging
Browse files Browse the repository at this point in the history
  • Loading branch information
zusorio committed Feb 7, 2023
1 parent 285d932 commit 80899b5
Show file tree
Hide file tree
Showing 2 changed files with 288 additions and 294 deletions.
2 changes: 2 additions & 0 deletions website/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ Vue.use(VueSocketIOExt, socket, { store });

Vue.config.productionTip = false;

Vue.config.devtools = ["local", "staging"].includes(import.meta.env.VITE_DEPLOY_MODE);

Vue.component("v-style", {
render: function (createElement) {
return createElement("style", this.$slots.default);
Expand Down
Loading

0 comments on commit 80899b5

Please sign in to comment.