diff --git a/quasar.conf.js b/quasar.conf.js index 138a7a0..c1bddd6 100644 --- a/quasar.conf.js +++ b/quasar.conf.js @@ -83,6 +83,7 @@ module.exports = function (ctx) { new CopyWebpackPlugin([ { context: `${__dirname}/src/extensions/branding/images/`,from:'*.*', to:'branding/images', toType: 'dir'}, { context: `${__dirname}/src/extensions/branding/images/icons`,from:'*.*', to:'branding/images/icons', toType: 'dir'}, + { context: `${__dirname}/src/extensions/branding/images/logo`,from:'*.*', to:'branding/images/logo', toType: 'dir'}, { context: `${__dirname}/src/extensions/branding/images/social_share_preview`,from:'*.*', to:'branding/images/social_share_preview', toType: 'dir'} ] ) diff --git a/src/App.vue b/src/App.vue index 03c1f5e..ef453f0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -90,6 +90,15 @@ export default { default: this.$t("meta.noscript") } }; + }, + + watch: { + "$route.query.theme": function(v) { + console.log(v); + if (v) { + this.$store.dispatch("ui/loadTheme", JSON.parse(v)); + } + } } }; diff --git a/src/components/ui/token-statistics.vue b/src/components/ui/token-statistics.vue index c791454..17bdba8 100644 --- a/src/components/ui/token-statistics.vue +++ b/src/components/ui/token-statistics.vue @@ -4,7 +4,7 @@