#cargo create-tauri-app doesnt work as intended

8 messages · Page 1 of 1 (latest)

cunning finch
#

the window opens, I enter my name in the input field and it does nothing when I click greet!

how to debug this?

grizzled urchin
#

You run tauri dev in a terminal and check for output

#

You can also open the devtools with Ctrl + Shift + I to see the JS console

cunning finch
#

with cargo tauri dev and console there is nothing outputing...

cunning finch
#

can I get some help to fix this, it seems something is off in my system and I also see in another project I cant hide or close a window

#

I dont see a main.js import in the index.html maybe thats it?

#

yeap adding

<script type="module" src="/main.js" defer></script>

and it works now