InsightSoftwareConsortium / InsightSoftwareConsortium/ITK-Wasm

Outdated Vite example

Open
#1,198 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
235
Forks
61
Avg merge
4d 19h
Merged PRs (30d)
4

Description

I am trying to setup vite `@itk-wasm/mesh-io` to load and render vtk meshes in `vtk.js`. I was following this guide: https://wasm.itk.org/en/latest/typescript/distribution/vite.html. However the example seems a bit outdated. Could you provide an updated vite example?

The specific issue I am seeing in vite:

Screenshot 2024-08-13 at 18 45 31

https://github.com/InsightSoftwareConsortium/ITK-Wasm/blob/2bbb8bbc94aa8deebeeb2c4d8988aaa939f945aa/examples/vite/vite.config.js#L10-L24

Contributor guide

Open the contributing guide

Research direction

Start with the linked guide and examples/vite/vite.config.js lines 10-24, then reproduce the reported Vite setup problem with @itk-wasm/mesh-io. Update the Vite example so it supports the documented mesh-loading and rendering setup, and verify that the guide matches the working example.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, vite, wasm
Domain
build-system, documentation, frontend
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.