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
For a few reasons it was a bit harder than expected adapting the examples to work with Vite (+solid-js): I hit a few problems which weren't obvious to troubleshoot.
I'm planning on adding a web target to the counter example, using Vite and SolidJs.
The text was updated successfully, but these errors were encountered:
Ah sorry I had missed your message, and I've since then forgotten the details of the problems I ran into.
From vague memory, I had two problems, with the javascript tooling stack rather than the code itself:
in the package.json dependencies, using link:... for the shared libraries didn't work for some reason (the wasm would fail loading at runtime in the browser). Using file:... instead worked:
In the vite.config.ts file (default file provided with the official solidjs/vite template), I needed to explicitly tell vite to not optimize the shared wasm dependency:
For a few reasons it was a bit harder than expected adapting the examples to work with Vite (+solid-js): I hit a few problems which weren't obvious to troubleshoot.
I'm planning on adding a web target to the counter example, using Vite and SolidJs.
The text was updated successfully, but these errors were encountered: