Welcome page for new Bud installations.
npm install
go mod tidy
bud run
You can update the welcome page in Bud by doing the following.
Build the package;
bud build
And start the production server with ./bud/app
.
Then in another terminal, run staticgen
to generate the static assets into build/
Note: For this step, you'll need staticgen in your
$PATH
staticgen
Rename bud/view/_index.svelte
to bud/view/_index.svelte.js
and fix the name in index.html
. This is a temporary step until this issue is resolved.
Finally, copy the generated build files into bud's runtime/web/welcome
package.