DEV Community

Discussion on: How I use Vue.js on GitHub Pages

Collapse
 
akinhwan profile image
Akinhwan

how do you serve images? I'm getting confused between /static and /assets. the href I set in the html part of my component works correctly, but in the css section the url i set for background image is not finding in the same path

Collapse
 
tiim profile image
Tim Bachmann

The static/ folder is for files like images and css that should not be touched by webpack where as files in the assets/ directory will be processed.