Hello. Great videos, easy to follow along. I am having issues with CORS policy: No 'Access-Control-Allow-Origin', since I am loading images from different site. I am interested why you do not have this issues, since I have followed your example? I am using image loader version 1.7.5
Then it is most probably due to api. May be access control allow origin header is not present in api. And not sure if anything can be done from compose image loader side or not.
Hey, your really doing amazing, im able to achieve same thing via wasm in easier way, My question is can i use this full project, because im confused as render everything on a Canvas, is this ok for responsiveness and for js like function on interraction and on page content updation like fetch or Ajax, Please answer me, I'm really too confused
@codingambitions thank bro, i don't need seo, it's just a dashboard, One more question, wanted to go with Golang for backend, it this fine or i should use ktor?
Hi. Love your video. But can this project navigate to other page?. I'm currently using Compose Navigation for navigate between page, but the url remain localhost:8080. That behavior make the KMP web can't nav back or using url to go to specific page like other web. Do you know how to make the navigate more like normal web. Thanks
For that you need to make some changes in navigation logic for web. You will have to write separate navigation logic for web but you can reuse the ui. And you need to use routing library for that. May be you can try routing-compose library for that or decompose also have WebHistroyController which you can check.
@@codingambitions great, I will take a look at decompose. I'm developing a KMP Web only, so I think writing specific navigation logic for web is not a big deal to me. Thank you for your answer
Hello sir, Excellent training, thank you! I am pretty much interested in bootcamp training of KMP iOS, Android, Desktop and Web). It may be private if you don't have a training already prepared. Thanks,
Hello, can you pls make tutorial on how to embed compose code in html css website? If we have a web app made in html css js etc, I want it to run some components of compose.
Yes we can use moko resources with compose web (using Kotlin/Js), android and iOS targets. But Currently moko resources does not support wasm target. Hoping that very soon it will support wasm as well.
hello! i subscribed to you and liked this video! i'm glab you made this but can u help me for my school project? how can i build a different ui for the web and app? the web is for the admin and the app is for the users so they're ui is not the same. how can i implement that in code please?
@@codingambitions okay thank you so much! i will try this. tho i have another question, what is the meaning of KMP web it being experimental? will they be removing it soon or just improving it? i'm afraid if i use it in my proj it'll be not available anymore in 3 months of my semester
For some videos, i include, But for others i dont. Becoz i think if i will include source code for all videos, users will not learn from my videos, they will directly go to source code and will later face problems due to not understanding complete topic from video..
1 BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 66 2 Unsupported class file major version 66 help i am having these error after i run the webApp please help
amazing
🙏🙏🙏
Does this gradle task/run accept hot code changes? or Am I missing something else entirely? I'm using kotlin/wasm btw.
I think you need to add --continuous argument in command for that ->
composeApp:jsBrowserRun --continue
Hello. Great videos, easy to follow along. I am having issues with CORS policy: No 'Access-Control-Allow-Origin', since I am loading images from different site. I am interested why you do not have this issues, since I have followed your example? I am using image loader version 1.7.5
Then it is most probably due to api. May be access control allow origin header is not present in api. And not sure if anything can be done from compose image loader side or not.
This because you're not using ktor server, other server side frameworks or languages causing the error, or explicitly configure your server for CORS
Hey, your really doing amazing, im able to achieve same thing via wasm in easier way,
My question is can i use this full project, because im confused as render everything on a Canvas, is this ok for responsiveness and for js like function on interraction and on page content updation like fetch or Ajax,
Please answer me, I'm really too confused
If you are not concerned about SEO, then its completely fine. Becoz SEO is achievable for canvas based websites.
@codingambitions thank bro, i don't need seo, it's just a dashboard,
One more question, wanted to go with Golang for backend, it this fine or i should use ktor?
Hi. Love your video. But can this project navigate to other page?. I'm currently using Compose Navigation for navigate between page, but the url remain localhost:8080. That behavior make the KMP web can't nav back or using url to go to specific page like other web. Do you know how to make the navigate more like normal web. Thanks
For that you need to make some changes in navigation logic for web. You will have to write separate navigation logic for web but you can reuse the ui. And you need to use routing library for that. May be you can try routing-compose library for that or decompose also have WebHistroyController which you can check.
@@codingambitions great, I will take a look at decompose. I'm developing a KMP Web only, so I think writing specific navigation logic for web is not a big deal to me. Thank you for your answer
Hello sir,
Excellent training, thank you!
I am pretty much interested in bootcamp training of KMP iOS, Android, Desktop and Web). It may be private if you don't have a training already prepared.
Thanks,
Hi, thanks for your feedback. Please Mail me on sunil.dhiman90@gmail.com to connect further
Can I use java libraries???
They will work only for jvm(desktop) target
@@codingambitions I tried to add a java library today Kotlin/wasm I couldn't even add a basic Joda-time library , this is a complete nightmare 🫨🥹
@@codingambitions The other day I installed a java library in Kotlin/wasm ,And I couldn't do it at all 🫨🥹
@@codingambitions The other day I installed a java library in Kotlin/wasm ,And I couldn't do it at all 🫨🥹
@@codingambitions The other day I installed a java library in Kotlin/wasm ,And I couldn't do it at all 🫨🥹
Hello, can you pls make tutorial on how to embed compose code in html css website?
If we have a web app made in html css js etc, I want it to run some components of compose.
Hi, Though it can be little bit challenging(but not sure), but i will check it.
Hello, you can use MOKO resources in this case? thanks man!
Yes we can use moko resources with compose web (using Kotlin/Js), android and iOS targets. But Currently moko resources does not support wasm target. Hoping that very soon it will support wasm as well.
@@codingambitions ok and one more question! in your project when use web/ios/android/desktop, you can use "PRECOMPOSE" for navigation?
Yes we can use PRECOMPOSE , DECOMPOSE OR VOYAGOR any of these libraries for navigation. I have used decompose in one of my videos.
thanks bro! i learned a lot with your videos! im interesting Compose Multiplataform@@codingambitions
i thinks precompose web, not a good performs.. 🤔
Hello. Do you have a video whit KOIN and compose KMP ?
Yes, checkout this video: ua-cam.com/video/X0nc2knu43E/v-deo.html
@@codingambitions Thanks a lot.
hello! i subscribed to you and liked this video! i'm glab you made this but can u help me for my school project? how can i build a different ui for the web and app? the web is for the admin and the app is for the users so they're ui is not the same. how can i implement that in code please?
Its pretty easy. In jsMain, main.kt , you can write your own ui instead of using common App UI.
@@codingambitions okay thank you so much! i will try this. tho i have another question, what is the meaning of KMP web it being experimental? will they be removing it soon or just improving it? i'm afraid if i use it in my proj it'll be not available anymore in 3 months of my semester
Experimental means its in early stage,things may change little bit, but overall it will improve.
You should include the repo for projects code source
For some videos, i include, But for others i dont. Becoz i think if i will include source code for all videos, users will not learn from my videos, they will directly go to source code and will later face problems due to not understanding complete topic from video..
1 BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 66
2 Unsupported class file major version 66
help i am having these error after i run the webApp please help
Hey, its probably due to java version issue. Which IDE you are using?
hosting?
Hi, i didnt tried yet. I will check that soon