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
I have a Nuxt 2.17.1 project which uses an app.html file to define various things.
Within that app.html file it accesses variables like process.env.CDN_PATH to load such things as fonts from a CDN.
These appear to be completely inaccessible with Nuxt Bridge.
Can anyone tell me how to get these environment variables to work in this case?
And if it's not possible, first of all why, and secondly, what would be an alternative method? I cannot find anything at all in the documentation with regards to this.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Unfortunately that's not possible at the moment, but the simple fact that you didn't reply with "oh no that won't work because of X" tells me that it should be possible to access process.env variables in a HTML file.
I have a Nuxt 2.17.1 project which uses an
app.html
file to define various things.Within that
app.html
file it accesses variables likeprocess.env.CDN_PATH
to load such things as fonts from a CDN.These appear to be completely inaccessible with Nuxt Bridge.
Can anyone tell me how to get these environment variables to work in this case?
And if it's not possible, first of all why, and secondly, what would be an alternative method? I cannot find anything at all in the documentation with regards to this.
Thanks in advance.
The text was updated successfully, but these errors were encountered: