Relative URL in Nuxt.js

377 Views Asked by At

I have a problem with Nuxt.js static site generation : I want to have relative url instead of absolute URL because I can't know the final url before the build (i make scorm package who are finaly served by a CDN).

Example : instead of /_nuxt/1234.js i want if i'm in /module-1/index.html ../_nuxt/1234.js.

Is it possible ?

Thanks in advance for your advices !

0

There are 0 best solutions below