A Wails template that comes with Vite, TypeScript, React, TailwindCSS and shadcn/ui.
wails init -n project-name -t https://github.com/Abdelrahman-habib/wails-vite-ts-react-tailwind-shadcn
cd frontend
npm install
To install components, use shadcn's CLI tool to install
More info here: https://ui.shadcn.com/docs/cli#add
Example:
npx shadcn-ui@latest add [component]
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
.