Yew: Is Yew compatible with other browsers than Chrome?

Created on 2 Jun 2020  路  6Comments  路  Source: yewstack/yew

hello, I tried to create a simple app and compiled correctly, it only worked on Chrome, and only on Chrome, when I tried to run the app on other browsers it didn't work.

I tried to change the versions of Yew 0.15 and 0.16 but it didn't work, even using the stdweb.

Edge console output:
image

Opera still the same:
image

Most helpful comment

Thanks for the issue @SamukaDEV! Templates are not required so we aim to have a good experience across all browsers.

Could you please create an example repo that has this issue? That would help determine the cause

All 6 comments

Maybe you should give more information which template are you using to create the app. You can try yew-template-parcel at least it works in Chrome, Firefox, Safari and Internet Edge

Thanks, ive builded this template and now works fine, routes too... but, ill not close this issue now, i need to understand what i have maded wrong in my project, to post here, and if i can use this framework without template, i think is more clean use without a template to this small project, ok?

Thanks for the issue @SamukaDEV! Templates are not required so we aim to have a good experience across all browsers.

Could you please create an example repo that has this issue? That would help determine the cause

Thanks for the issue @SamukaDEV! Templates are not required so we aim to have a good experience across all browsers.

Could you please create an example repo that has this issue? That would help determine the cause

@jstarry ill try, im not pro in github haha
and learned Rust only for 4 days, my project is a simple TODO app, and i dont know if the error is in some code that i have writed! 馃槄

https://github.com/SamukaDEV/wasm-app
@jstarry
repo with the current problematic app!

maybe im writing some code wrong i think, but still the same! compiling to Chrome, not others

Obs: this is without the template! ive make some changes to aproximate!

i till searching the wrong config! i think is something like that!
or code not implemented!

This is the new console output after changes to be more like template config to build! the error have changed!
image

Obs2: the page still blank, rendering nothing!

image

Oh my god, thanks for the patience, ive founded the error, really is my code! XD 馃槄馃槄

Was this page helpful?
0 / 5 - 0 ratings