I'm in the process of bundling my Vue CLI application to include src/static/xyz.png
so that I can easily reference it as /static/xyz.png
.
Unfortunately, the documentation provided by Vue doesn't offer clear instructions on how to achieve this. It seems like I need to make changes to a vue.config.js
file, but I'm feeling lost between the information available here:
https://cli.vuejs.org/guide/webpack.html
and here:
https://cli.vuejs.org/guide/html-and-static-assets.html#html
I have attempted various webpack configurations, but my understanding of webpack is not strong enough to solve this problem. Any suggestions or guidance would be greatly appreciated. Thank you!