unresolved import web_sys stuff inside wgpu codebase #1776
Answered
by
cwfitzgerald
andraantariksa
asked this question in
Q&A
-
Not sure what happens here, but I got these error when trying to build my project with Click to expand
This is my project https://github.com/shaderboi/tempeh-engine |
Beta Was this translation helpful? Give feedback.
Answered by
cwfitzgerald
Aug 8, 2021
Replies: 1 comment 3 replies
-
See https://github.com/gfx-rs/wgpu/wiki/Running-on-the-Web-with-WebGPU-and-WebGL on how to get set up on the web. If you want to use webgpu, you have to pass in a special flag to enable the apis. We should increase the visibility of these links. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
andraantariksa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://github.com/gfx-rs/wgpu/wiki/Running-on-the-Web-with-WebGPU-and-WebGL on how to get set up on the web. If you want to use webgpu, you have to pass in a special flag to enable the apis.
We should increase the visibility of these links.