2

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 !

4
  • 1
    Basically this question? stackoverflow.com/q/69657203/8816585 Commented Dec 21, 2021 at 17:01
  • 1
    Yes but the question have no answers... I see other person with the same issue but no one give a solution for now... Commented Dec 22, 2021 at 8:53
  • Maybe this article can help, medium.com/js-dojo/… Commented Dec 27, 2021 at 1:23
  • Thanks but it not solved the problem : I don't need to generate dynamic routes, i want to have relative path. I've now the impression that it is not possible... Commented Jan 10, 2022 at 8:42

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.