require and images…
From research into Vue for teaching, I’ve determined that when referring to CSS or image assets, it is best to ALWAYS use “@” notation for referring to images.
|For static image references in templates||
|For dynamic image references in templates||
|To import css in
|To have a static background image in
||` background-image: url(‘~@/assets/site/neonbrand-394691-unsplash.jpg’);`|
Perhaps the next language level up we can be smarter about these pecadillos.