Once you've created a project and installed dependencies with pnpm install
, start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version of your app:
npm run build
You can preview the production build with npm run preview
.
become reflector
# mkdir -p ~/www/js
# cd ~/www/js
# git clone https://github.com/AngryLoki/wikidata-link-reflector.git .
# curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
# nvm install 19 && nvm use 19
# curl -fsSL https://get.pnpm.io/install.sh | sh -
# pnpm add -g pnpm
./www/js/update.sh