-
Notifications
You must be signed in to change notification settings - Fork 11
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
can't compile examples #8
Comments
Hi! The issue seems to be coming from wrong Also, the examples are now made to be built with trunk rather than directly with
In the beginning there was a GTK4 version too. However, I decided to remove that for the time being. The concept behind Async UI is still quite new so I want to have one platform working well first. |
I still get an error 😢
|
Very strange. Can you make sure again that you have pulled the latest change (commit 3ab00b0), and that the file cssparser = "0.31.0" at the end? If the error still persist, maybe try |
I made
but it seems to work because i need to recompile the crates after. |
I misunderstood how cargo handles semantic versioning. Commit fd8158f should fix the issue. Please try it! |
well, i have this new error now 😄 (even with the last commit)
|
Seems to be a trunk issue. Can you try wasm-pack instead? To build with <!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
</head>
<body>
<script type="module">
import init from './pkg/web_todomvc.js';
init();
</script>
</body>
</html> Then run wasm-pack build --dev --target web Then you will have to serve the built content. I usually use microserver. cargo install microserver
microserver |
|
hi, newbie here.
I saw in an issue that i needed
wasm-pack
. So i installed it with this.But now, i have this error:
Also, is this library only available for web with wasm or it also works on desktop ?
The text was updated successfully, but these errors were encountered: