This is a ready-to-go template for Wails 2.x.
Included:
This template does NOT include any components library, you are free to choose any library you like. To use Tailwind CSS with Emotion, you may follow examples in App.tsx
. Some path aliases is defined in tsconfig.json
and vite.config.ts
, you may define additional aliases in both configuration files.
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 build a redistributable, production mode package, use wails build
.