We suggest develop our product under node.js LTS(Long-term support) version
install Node LTS version
Up to now, the major node.js version is 18.x
install nvm
nvm install --lts
nvm use --lts
# install dependencies
pnpm install
pnpm dev
The playground page should work at http://localhost:8080/
Adding test cases is strongly encouraged when you contribute new features and bug fixes.
We use Playwright for E2E test, and vitest for unit test.
To test locally, please make sure browser binaries are already installed via npx playwright install
. Then there are multi commands to choose from:
# run tests in headless mode in another terminal window
pnpm test