Load config.json at runtime
This commit is contained in:
parent
01c0eb503f
commit
589c52f4cd
11 changed files with 71 additions and 39 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue