ssrContext variables in index.html do not seem to be working
#18111
Unanswered
rtcpw
asked this question in
CLI - SSR mode
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm following this guide https://quasar.dev/quasar-cli-vite/developing-ssr/configuring-ssr#boot-files
Based on the documentation, I should be able to use this in my boot file:
While this throws an error in typescript, I can use
@ts-ignoreto get around it and compile. However, if I then do this inindex.html:I get an error complaining that
somePropis not defined. Yet all that I am doing is following the documentation precisely. Perhaps the documentation is out of date and there are some new requirements that I am not meeting?Beta Was this translation helpful? Give feedback.
All reactions