Skip to content

In the project built by @vue/cli 5.0.8, the problem of modifying filename such as images and fonts. #7260

Answered by screetBloom
2356874721 asked this question in Q&A
Discussion options

You must be logged in to vote
// vue.config.js
module.exports = {
  chainWebpack(config => {
    config.module
      .rule('svg')
      .set('generator', {
        filename: 'demo'
      })
  })
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@2356874721
Comment options

Answer selected by 2356874721
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants