- Go Project Root
-
- Go files and project
-
- SPA FE (in my case
ui
- SPA FE (in my case
-
-
- spa.go
-
- Create a webserver
- Register the spa middleware as the last middleware.
-
- Call
ui.NewHandler().Register(e)
.
- Call
- In the file above it's configured to use the
dist
folder. -
- This is where your project should build into.