Nuxt 3 Minimal Starter

Look at the Nuxt 3 documentation to learn more.

Setup

Manual Build (development)

Install dependencies

npm install

Build rust project (optional, the project comes with prebuilt wasm targets)

cd wasm-ml
./build.sh
cd ..

Copy the generated files to public/build

cp -R wasm-ml/build ./public

Or symlink

ln -s wasm-ml/build ./public

Run the server

npm dev

Docker build

Run:

docker compose up

This runs a production build. Not recommended since this is only a demo.