Wails SvelteKit Template with less, Prettier and ESLint.
The frontend is generated with npx sv create
and manually added less.
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:34115. Connect to this in your
browser and connect to your application.
To check the code, run npm run check
in the frontend
directory. Or run npm run check:watch
to watch for changes.
To lint the code, run npm run lint
in the frontend
directory.
To format the code, run npm run format
in the frontend
directory.
To build a redistributable, production mode package, use wails build
.