You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The environment is a product of the SSG construction of webview, with localized references and not going online
Command:
nuxt generate --dotenv .env.test
Reproduction
Because it is an internal project, it is not convenient to provide examples
Describe the bug
In the localization process of Nuxt3, when referencing JSON, it will still be absolutely referenced because it is obtained through baseUrl, but baseUrl is/,
Unable to set relative reference. After referencing through fetch, the address is still /nuxt/builds/meta/7856bdf6-69b2-450a-8f20-07d21023e783. json,
After referencing here, it is not possible to reference locally. How to set it up to achieve localization of the entire project.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making.
What will happen?
If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritize it based on its severity and how many people we think it might affect.
If needs reproduction labeled issues don't receive any substantial activity (e.g., new comments featuring a reproduction link), we'll close them. That's not because we don't care! At any point, feel free to comment with a reproduction and we'll reopen it.
How can I create a reproduction?
We have a couple of templates for starting with a minimal reproduction:
Environment
The environment is a product of the SSG construction of webview, with localized references and not going online
Command:
nuxt generate --dotenv .env.test
Reproduction
Because it is an internal project, it is not convenient to provide examples
Describe the bug
In the localization process of Nuxt3, when referencing JSON, it will still be absolutely referenced because it is obtained through baseUrl, but baseUrl is/,
Unable to set relative reference. After referencing through fetch, the address is still /nuxt/builds/meta/7856bdf6-69b2-450a-8f20-07d21023e783. json,
After referencing here, it is not possible to reference locally. How to set it up to achieve localization of the entire project.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: