https://github.com/batteredbunny/wasm-vite-template
An opinionated template for using rust wasm with vite
https://github.com/batteredbunny/wasm-vite-template
cargo-generate nix nix-flake vite
Last synced: about 1 month ago
JSON representation
An opinionated template for using rust wasm with vite
- Host: GitHub
- URL: https://github.com/batteredbunny/wasm-vite-template
- Owner: BatteredBunny
- Created: 2022-11-05T00:54:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2026-04-07T20:36:26.000Z (about 2 months ago)
- Last Synced: 2026-04-07T22:28:10.451Z (about 2 months ago)
- Topics: cargo-generate, nix, nix-flake, vite
- Language: Nix
- Homepage:
- Size: 98.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
wasm-vite-template
An opinionated template for using rust wasm with vite
```
cargo generate --git https://github.com/BatteredBunny/wasm-vite-template
```
## Nix
```
git add *.nix
```
### Build
```
nix build
```
### Shell
```
nix develop
```
## Justfile usage
### Build
```
just
```
### Start dev server
```
just dev
```
### Preview production build
```
just start
```