AppFlowy/frontend/appflowy_web
2024-04-08 16:13:37 +08:00
..
public
src feat: folder web (#4580) 2024-02-04 05:50:23 +08:00
wasm-libs chore: update client api (#5087) 2024-04-08 16:13:37 +08:00
.eslintignore
.eslintrc.cjs feat: folder web (#4580) 2024-02-04 05:50:23 +08:00
.gitignore
.prettierignore
.prettierrc.cjs
index.html
package.json feat: folder web (#4580) 2024-02-04 05:50:23 +08:00
pnpm-lock.yaml feat: folder web (#4580) 2024-02-04 05:50:23 +08:00
README.md
tsconfig.json
tsconfig.node.json
vite.config.ts

AppFlowy Web Project

Installation

cd appflowy-web

# Install dependencies
rm -rf node_modules && pnpm install

Running the app

# development
pnpm run dev

# production mode
pnpm run build

# generate wasm
pnpm run wasm

Run tests in Chrome

Before executing the test, you need to install the Chrome Driver. If you are using a Mac, you can easily install it using Homebrew.

brew install chromedriver

Go to frontend/appflowy_web/wasm-libs and run:

wasm-pack test --chrome

Run tests in headless Chrome

wasm-pack test --headless --chrome