https://kotlinlang.org logo
#compose-web
Title
# compose-web
a

aris

03/27/2024, 11:45 AM
Two more questions (sorry 😅) • Would be possible update the web while I'm working? I mean, on every change I have to relaunch wasmJsBrowserRun • I am using IntelliJ IDEA because Fleet havent option to add plugins but on IDEA also include KMP plugin and preview doesnt work
w

Wout Werkman

03/27/2024, 11:52 AM
You can preview only desktop target on IntelliJ. So what you can do is add a desktop target, and there you add a preview that previews your common code. But this also means that you have to move the Kotlin/WASM logic to common code if you want to preview it.
j

Jacob Ras

03/27/2024, 11:52 AM
Yes: use the
--continuous
flag
🔥 1
👆 1
w

Wout Werkman

03/27/2024, 11:52 AM
If you use Fleet, you won't need to add a Desktop target.
a

aris

03/27/2024, 11:54 AM
Thx @Jacob Ras!
@Wout Werkman there is preview on fleet? To wasm?
w

Wout Werkman

03/27/2024, 11:55 AM
Nope, only in Desktop and Common code.
a

aris

03/27/2024, 11:56 AM
okidoki
thx!
8 Views