GoShimmer SPA
Programmed using modern web technologies.
SPA in dev mode
- Make sure to set
dashboard.dev
to true, to enable GoShimmer to serve assets from the webpack-dev-server. - Install all needed npm modules via
yarn install
. - Run a webpack-dev-server instance by running
yarn start
within thefrontend
directory. - Using default port config, you should now be able to access the dashboard under http://127.0.0.1:8081
The SPA is hot-reload enabled.
Pack your changes
We are using packr2 to wrap all built frontend files into Go files.
-
Install
packr2
if not already done. - Build SPA by running
yarn build
within thefrontend
directory. - Change to the
plugins/spa
directory. - Run
packr2
. -
plugins/spa/packrd
should have been modified. - Done. Now you can build goShimmer and your SPA changes will be included within the binary.