mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 19:50:15 +08:00
Add troubleshooting guide. #1187
This commit is contained in:
parent
a971751dab
commit
944494c4ef
15
website/docs/guides/troubleshooting.mdx
Normal file
15
website/docs/guides/troubleshooting.mdx
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
# Troubleshooting
|
||||||
|
|
||||||
|
An assortment of troubleshooting tips.
|
||||||
|
|
||||||
|
## My application is displaying a white/blank screen
|
||||||
|
|
||||||
|
Check that your application includes the assets from the correct directory. In your `main.go` file, you will have
|
||||||
|
something similar to the following code:
|
||||||
|
|
||||||
|
```go
|
||||||
|
//go:embed frontend/dist
|
||||||
|
var assets embed.FS
|
||||||
|
```
|
||||||
|
Check that `frontend/dist` contains your application assets.
|
Loading…
Reference in New Issue
Block a user