https://github.com/lontten/wails-vite-react-ts
Wails v2 template with Vite + React + TS
https://github.com/lontten/wails-vite-react-ts
react ts typescript wails wails-template wails2
Last synced: 2 months ago
JSON representation
Wails v2 template with Vite + React + TS
- Host: GitHub
- URL: https://github.com/lontten/wails-vite-react-ts
- Owner: lontten
- License: mit
- Created: 2022-04-26T03:34:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-26T07:18:19.000Z (over 3 years ago)
- Last Synced: 2025-04-05T18:50:48.876Z (6 months ago)
- Topics: react, ts, typescript, wails, wails-template, wails2
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wails + React Typescript
## About
This is a Wails template project with React and TypeScript, using Vite for
asset bundling. It comes with the bare minimum, and can be extended by following
the guides in this README.To create a project using this template run:
`wails init -n [Your Appname] -t https://github.com/lontten/wails-vite-react-ts`## 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`.
## Known Issues
- When making changes to the frontend, the browser reload will often happen too fast, causes issues. A refresh will fix the page.
- Typechecking is turned off due to Wails depending on the frontend to build before it will compile the backend and generate bindings.
- If you find any other problems, please create an issue.