Installation

Use Allotize

npm install allotize@0.0.1-alpha.1

Allotize is internally using WebAssembly (WASM), which must be dynamically imported. Information on dynamic imports can be found at https://javascript.info/modules-dynamic-imports. You will also need to handle .wasm files. If you struggle setting up WASM support, you can use our template create-allotize-app (see bottom of the page).

Use Allotize with React

npm install react
npm install allotize@0.0.1-alpha.1
npm install allotize-react@0.0.1-alpha

Allotize is internally using WebAssembly, which must be dynamically imported. Information on dynamic imports can be found at https://javascript.info/modules-dynamic-imports. You will also need to handle .wasm files. If you struggle setting up WASM support, you can use our template create-allotize-app (see bottom of the page).

Create an Allotize app with React using create-allotize-app

For the easiest setup, we recommend using create-allotize-app, which will automatically handle the dynamic import of allotize. In addition, this template includes helpers for

npm init allotize-app my-allotize-app
cd my-allotize-app
npm install