A modificated template that adds an uptodate website template using vite
.
Running & Testing a WASM app is not difficult! Just follow these steps.
To launch the webpage:
- Navigate to the
www
directory.cd ./www/
- Run the
dev
npm command.npm run dev
MAKE SURE YOU HAVE RUNnpm install
BEFORE. - Success!
To build the wasm run the following command: wasm-pack build
.
The page should have auto-reloaded, if not manually reload.