wails-vite-ts-react-tailwind-shadcn Tailwind Templates

Wails Vite Ts React Tailwind Shadcn

README

About

A Wails template that comes with Vite, TypeScript, React, TailwindCSS and shadcn/ui.

Using the Template

wails init -n project-name -t https://github.com/Abdelrahman-habib/wails-vite-ts-react-tailwind-shadcn
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.

Top categories

Loading Svelte Themes