Compilation error when adding CrabNebula DevTools as per documentation #3152
Labels
bug
Does it fix inaccurate content or fix a bug?
good first issue
Is it good for beginners to take up?
Description:
Following the instructions at CrabNebula DevTools, I encountered a compilation error when integrating the devtools plugin.
Reproduction:
Using the code snippet provided in the documentation:
I receive the following error:
Workaround:
I found that modifying the code by wrapping the affected assignment in a block allows the code to compile successfully. The updated code is:
After this change, the application builds and runs correctly, with the output indicating that Tauri Devtools v2.0.0 is running locally.
Full
tauri info
output:The text was updated successfully, but these errors were encountered: