Using some kind of node version manager, install LTS:
nvm install lts
nvm use lts
Using NPM, install dependencies:
npm install
Running the planner requires assets from the game/presskit. You can find the presskit here: (Presskit on github.io)[https://playwithfurcifer.github.io/backpack-battles-presskit/].
Extract it to /public
, so that it contains at least Background/Shop.jpg
and the whole folder Items/
. Keep the other files, too, in case more assets are used in the future! Structure should be something like:
root
│ README.md
│ ...
│
├───public
│ │
│ ├───Background
│ │ Shop.jpg
│ │
│ └───Items
│ AceofSpades.png
│ AcornCollar.png
│ ...
│
└───src
└───app
Board.tsx
...
npx next dev
Uncomment output: 'export'
from next.config.js
, then run
npx next build