-
Hi there, I’m currently trying to use the Slint plugin for VSCode within a devcontainer setup. The plugin works fine locally, including the preview, but I’m having trouble getting the preview to work when running in the devcontainer. When I click on "Preview", I don’t see any error messages, but the preview simply doesn’t show up. Is it possible to use the Slint plugin in a devcontainer? If so, what steps should I follow to get the preview working in this environment? Are there any special configurations or dependencies I need to consider when setting this up? If the preview isn't working, where would I find more information to troubleshoot why this is happening? I’d appreciate any tips or guidance from anyone who has experience using the Slint plugin in a devcontainer. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The preview will need at the least to find a way to connect to your windowing system. What windowing system are you using and how is the container set up so that processes inside can connect to the windowing system? (If we can solve this, then this might be worth adding to our documentation :) |
Beta Was this translation helpful? Give feedback.
-
In the vscode settings, you can try selecting the option
This will enable the wasm preview that should work in a container. |
Beta Was this translation helpful? Give feedback.
In the vscode settings, you can try selecting the option
This will enable the wasm preview that should work in a container.