README
About
This template comes with Vite, React, TypeScript, TailwindCSS and shadcn/ui.
Built with Wails v2.5.1
and shadcn's CLI
Using the Template
wails init -n project-name -t https://github.com/Mahcks/wails-vite-react-tailwind-shadcnui-ts
cd frontend
npm install
Installing Components
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]
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:34115. Connect to this in your
browser and connect to your application.
Building
To build a redistributable, production mode package, use wails build
.