diff --git a/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/README.md b/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/README.md index 4e311dfc..45c57ab6 100644 --- a/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/README.md +++ b/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/README.md @@ -5,20 +5,18 @@ This is a basic Svelte template, using rollup to bundle the assets into a single JS file. Rollup is configured to do the following: - - Convert imported images to base64 strings - - Convert `url()` in `@font-face` declarations to base64 strings - - Bundle all css into the JS bundle - - Copy `index.html` from `frontend/src/` to `frontend/dist/` +- Convert imported images to base64 strings +- Convert `url()` in `@font-face` declarations to base64 strings +- Bundle all css into the JS bundle +- Copy `index.html` from `frontend/src/` to `frontend/dist/` -Clicking the button will call the backend - -## Building - -To build this project in debug mode, use `wails build`. For production, use `wails build -production`. -To generate a platform native package, add the `-package` flag. +Clicking the button will call the backend. ## Live Development -To run in live development mode, run `wails dev` in the project directory. In another terminal, go into the `frontend` -directory and run `npm run dev`. The frontend dev server will run on http://localhost:5000. Connect to this -in your browser and connect to your application. +To run in live development mode, run `wails dev` in the project directory. The frontend dev server will run +on http://localhost:34115. Open this in your browser to connect to your application. + +## Building + +For a production build, use `wails build`. diff --git a/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla/README.md b/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla/README.md index 164c2e44..5b2db9ba 100644 --- a/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla/README.md +++ b/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla/README.md @@ -6,9 +6,8 @@ This template uses vanilla JS / HTML and CSS. ## Live Development -To run in live development mode, run `wails dev` in the project directory. In another terminal, go into the `frontend` -directory and run `npm run dev`. The frontend dev server will run on http://localhost:5000. Connect to this in your -browser and connect to your application. +To run in live development mode, run `wails dev` in the project directory. The frontend dev server will run +on http://localhost:34115. Open this in your browser to connect to your application. ## Building