Load config.json at runtime

This commit is contained in:
N-Pex 2021-09-25 09:29:05 +02:00
parent 01c0eb503f
commit 589c52f4cd
11 changed files with 71 additions and 39 deletions

View file

@ -79,7 +79,6 @@
<script>
import profileInfoMixin from "./profileInfoMixin";
import ActionRow from "./ActionRow.vue";
import config from "../assets/config";
export default {
name: "ProfileInfoPopup",
@ -102,10 +101,10 @@ export default {
},
computed: {
product() {
return config.product;
return this.$config.product;
},
productLink() {
return config.productLink;
return this.$config.productLink;
},
},
watch: {