https://github.com/cm-iv/wails-preact-vite-template
A Wails template with a preact vitejs bundled frontend using Bulma CSS.
https://github.com/cm-iv/wails-preact-vite-template
Last synced: 3 months ago
JSON representation
A Wails template with a preact vitejs bundled frontend using Bulma CSS.
- Host: GitHub
- URL: https://github.com/cm-iv/wails-preact-vite-template
- Owner: CM-IV
- Created: 2022-05-26T08:03:00.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-26T08:20:40.000Z (about 3 years ago)
- Last Synced: 2025-01-22T00:15:48.712Z (4 months ago)
- Language: TypeScript
- Size: 188 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
## About
This is a modified template of Wails using Preact-TS with Vitejs bundler. Bulma CSS is used for styling on the frontend, along with a components and layout directory inside the src folder. Preact and Vitejs are my go-to tools in web development, so I hope you enjoy this template!
## Live Development
To create a project using this template run:
```
wails init -n [Your Appname] -t https://github.com/CM-IV/wails-preact-vite-template
```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`.