A template for building a Vue 3 application including a Rust WebAssembly crate.
A few npm scripts are included.
wasmRebuild and package the Rust crate to Wasm usingwasm-pack.devA hot reloading development server. Uses Vite for packaging and serving.buildLint and type check then package for production. Output totarget/dist/. Takes an optional argument for the base path.checkLint and type check.previewServe the built package using Vite. For development / validation, not for production.
The deploy-pages GitHub workflow automates building and deploying the app to GitHub Pages.
If you want routing to work, add a symbolic link with 404.html -> index.html (See the docs).