Skip to content

studio2aoe/aoec-browser-demo

Repository files navigation

aoec-browser-demo (Work in Progress)

Create React App based Web Browser Demo of aoec

Required

  • Build

    • Node.js (tested on node v16.14.2 & npm 8.6.0)
  • Browser features

  • Tested Browser

    • Chromium Stable (tested on 100)
    • Firefox Stable (tested on 99)

Play the demo

git clone https://github.com/studio2aoe/aoecjs # Dynamic dependencies
git clone https://github.com/studio2aoe/aoec-browser-demo # The demo

# Build aoecjs & install on the demo
cd aoecjs
npm install
npm run build
mkdir -p ../aoec-browser-demo/public/static/aoecjs
cp dist/* ../aoec-browser-demo/public/static/aoecjs

# Build and start the demo
cd ../aoec-browser-demo
npm install
npm run start

and browse http://localhost:3000

※ The demo using aoecjs version 0.0.1, make sure the built aoecjs paths are

  • (repo)/public/static/aoecjs/aoecjs.0.0.1.wasm
  • (repo)/public/static/aoecjs/aoecjs.0.0.1.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published