AFFiNE/client-app
2023-01-12 16:19:30 +08:00
..
scripts fix: merged 2023-01-10 14:57:30 +08:00
src refactor: clean unused files 2023-01-11 12:09:50 +08:00
src-OctoBase@456b68ec75 fix: merge issue 2023-01-10 18:15:02 +08:00
src-tauri feat: open devtool on dev 2023-01-12 16:19:30 +08:00
.editorconfig feat: add basic tauri client app 2023-01-04 21:11:26 +08:00
.gitattributes feat: add basic tauri client app 2023-01-04 21:11:26 +08:00
.gitignore feat: add basic tauri client app 2023-01-04 21:11:26 +08:00
.gitmodules feat: add basic tauri client app 2023-01-04 21:11:26 +08:00
.nvmrc feat: add basic tauri client app 2023-01-04 21:11:26 +08:00
index.html feat: add basic tauri client app 2023-01-04 21:11:26 +08:00
LICENSE feat: add basic tauri client app 2023-01-04 21:11:26 +08:00
package.json chore: build rs-type before start dev 2023-01-05 14:57:40 +08:00
pnpm-lock.yaml feat: add basic tauri client app 2023-01-04 21:11:26 +08:00
README.md chore: build rs-type before start dev 2023-01-05 14:57:40 +08:00
tsconfig.json feat: add basic tauri client app 2023-01-04 21:11:26 +08:00
vite.config.ts feat: add basic tauri client app 2023-01-04 21:11:26 +08:00

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 client-app 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 server
  • pnpm 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: