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

Installation instructions for ssr are incomplete #69

Open
jhoobergs opened this issue Jun 25, 2024 · 1 comment
Open

Installation instructions for ssr are incomplete #69

jhoobergs opened this issue Jun 25, 2024 · 1 comment

Comments

@jhoobergs
Copy link

The installation instructions on https://leptonic.dev/doc/installation are incomplete for ssr. They do not mention the need to enable the hydrate and ssr features.

hydrate = [..., "leptonic/hydrate"]
ssr = [ ...,     "leptonic/ssr" ]

It took me a while to figure this out, as the error message about js_sys and wasm_bindgen was rather cryptic.

@jhoobergs jhoobergs changed the title Installation instruction for ssr is incomplete Installation instructions for ssr are incomplete Jun 25, 2024
@spencewenski
Copy link

Thank you! This helped me figure this issue out for my project as well!

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

No branches or pull requests

2 participants