Commit 675b091
authored
fix(cli/fragments): fix yew fragment beforeDevCommand and withGlobalTauri (#147)
Changed "beforeDevCommand" from "trunk build" to "trunk server".
Before when you called "tauri dev" infinite loop will occur waiting for dev server to become available at "http://localhost:1420".
This would not happen because "trunk build" only builds artifacts and don't actually start serving them.
Changed "withGlobalTauri" from "false" to "true" so example frontend can actually "invoke" backend methods1 parent 2867f7d commit 675b091
3 files changed
Lines changed: 13 additions & 1 deletion
File tree
- .changes
- packages/cli/fragments/fragment-yew
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
0 commit comments