wails-vite-react-ts

command module
v0.0.0-...-31d5b30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2022 License: MIT Imports: 8 Imported by: 0

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL