Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird line in ssrContext warning section #15921

Closed
Satsukevich-Dzmitry opened this issue May 31, 2023 · 4 comments
Closed

Weird line in ssrContext warning section #15921

Satsukevich-Dzmitry opened this issue May 31, 2023 · 4 comments

Comments

@Satsukevich-Dzmitry
Copy link

Description

In this The ssrContext Object part in warning section you left explanation in parentheses, but it only provides more confusion. I'm not sure if this was intentional to left true===false, and if it was, then i guess there should be more then this, because it's confusing :)

image

Documentation Section URL

https://quasar.dev/quasar-cli-vite/developing-ssr/ssr-context#usage

Flavour

None

Areas

SSR Mode

@freddy38510
Copy link
Contributor

The ssrContext Object is available only on SSR builds, on the server-side compilation (when process.env.SERVER === true).

The source of the doc is here.

I assume that when compiling the documentation the global constant process.env.SERVER was statically replaced by its value. There may be other places in the documentation where the same issue arises.

@rstoenescu
Copy link
Member

Thanks for reporting.
Will be fixed on next docs deployment.

@EgorGumin
Copy link

I can see the same error again in 2.13.0 docs
image

@rstoenescu

@rstoenescu
Copy link
Member

@EgorGumin
That instance was never fixed. And missed when looking for similar cases throughout the docs.
Pushed a fix, so thanks for pinging me! Will be available on next docs deployment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants