diff --git a/build/webpack.config.js b/build/webpack.config.js index 4dc6077..ed22f49 100644 --- a/build/webpack.config.js +++ b/build/webpack.config.js @@ -94,15 +94,14 @@ module.exports = (env, argv) => { } }, generator: { - filename: 'images/[name][ext]' + filename: 'images/[name].[contenthash:8][ext]' } }] }, plugins: [ new CopyWebpackPlugin({ patterns: [ - { from: path.resolve(LIB, 'index.php'), to: 'index.php' }, - { from: path.resolve(SRC, 'images', 'logo_title.svg'), to: 'images' } + { from: path.resolve(LIB, 'index.php'), to: 'index.php' } ] }), new SymlinkWebpackPlugin([ @@ -133,6 +132,7 @@ module.exports = (env, argv) => { extensions: ['.vue', '.scss', '...'], alias: { '@components': path.resolve(SRC, 'components'), + '@images': path.resolve(SRC, 'images'), '@scripts': path.resolve(SRC, 'scripts'), '@styles': path.resolve(SRC, 'styles') } diff --git a/src/components/projectSettings.vue b/src/components/projectSettings.vue index 9605f68..567e2d0 100644 --- a/src/components/projectSettings.vue +++ b/src/components/projectSettings.vue @@ -3,6 +3,8 @@ import Simplebar from 'simplebar-vue'; import SpotIcon from '@components/spotIcon'; import ProjectNewsletter from '@components/projectNewsletter'; +import logoIconUrl from '@images/icons/favicon.svg'; +import logoTitleUrl from '@images/logo_title.svg'; export default { components: { @@ -21,7 +23,9 @@ export default { data() { return { isOpen: false, - lastUpdate: {unix_time: 0, relative_time: '', formatted_time: ''} + lastUpdate: {unix_time: 0, relative_time: '', formatted_time: ''}, + logoIconUrl, + logoTitleUrl }; }, emits: ['update:baseMap', 'update:projectCodeName', 'toggle'], @@ -77,8 +81,8 @@ export default {
- - + +