0👍
The answer seems to be to create separate locations for each resource which NGINX fails to load. In my case it was adding:
location /dist {
alias /srv/hub/frontend/dist;
autoindex on;
}
which then presented errors in sourcing the img files used in the Vue application.
thus:
location /img {
alias /srv/hub/frontend/dist/img;
}
I highly doubt that’s optimum best practise but it works now and I’m glad I can move on…
- [Vuejs]-Computed property that depends on another computed property
- [Vuejs]-Problem with @import sass files in Vuej.s
Source:stackexchange.com