mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-28 10:26:18 +03:00
.. | ||
scripts | ||
src/preload | ||
src-tauri | ||
package.json | ||
README.md | ||
tsconfig.json | ||
vite.config.ts |
Client App
AFFiNE App client powered by Tauri.
Quick Start
Please follow the Tauri getting started guide for environment setup.
After the environment is ready, start development build:
pnpm tauri dev
Development
Currently desktop client depends on a rapidly developing rust library "Octobase", we use git-submodule to link it currently.
We will provide its binary binding soon, to replace the git-submodule, before Octobase become opensource.
Scripts
On this folder:
pnpm dev:app
will start a vite serverpnpm build:prerequisite
will link the Octobase and prepare affine dist html and tauri preload script, also will generate ts type from rs. You should run this before start your first development time.
On project root folder: