AFFiNE/apps/web
Qi cfa18d1bc3
fix: font style setting only control editor's font (#3117)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-07-10 11:58:53 +00:00
..
public fix(web): fetch hello-world from local (#3062) 2023-07-06 09:46:17 +00:00
scripts feat: forced file naming format (#2270) 2023-05-08 17:37:07 -05:00
src fix: font style setting only control editor's font (#3117) 2023-07-10 11:58:53 +00:00
.env.local.template build: unify build flags (#2891) 2023-06-28 16:45:05 +08:00
.eslintrc chore: unify version (#1123) 2023-02-19 08:40:39 +00:00
next-env.d.ts chore: move client folders (#948) 2023-02-10 12:41:01 +00:00
next.config.mjs build: enable next server (#2992) 2023-07-04 01:59:06 +00:00
package.json chore: bump version (#3131) 2023-07-10 11:34:43 +00:00
preset.config.mjs fix: disable move db by default (#3105) 2023-07-09 03:37:39 +00:00
project.json test: image preview e2e (#3080) 2023-07-06 23:24:03 +00:00
README.md feat!: upgrade blocksuite version (#2833) 2023-06-25 01:16:46 +08:00
sentry.client.config.ts build: reduce the sample rate to 0.1 2023-04-23 23:40:59 -05:00
sentry.edge.config.ts build: reduce the sample rate to 0.1 2023-04-23 23:40:59 -05:00
sentry.properties feat: support sentry report (#1729) 2023-03-28 14:06:16 -05:00
sentry.server.config.ts build: reduce the sample rate to 0.1 2023-04-23 23:40:59 -05:00
server.mts build: enhance nx build (#2948) 2023-07-01 01:17:31 +08:00
tsconfig.json build: enhance nx build (#2948) 2023-07-01 01:17:31 +08:00
tsconfig.node.json build: enhance nx build (#2948) 2023-07-01 01:17:31 +08:00

AFFiNE Web

This is the web application for AFFiNE. It is a React application that uses the Next.js framework.

Getting Started

First, run the development server:

pnpm run dev

Open http://localhost:8080 with your browser to see the result.

You can start editing the page by modifying src/pages/workspace/[workspaceId]/all.tsx. The page auto-updates as you edit the file.

For more information on Next.js, take a look at the Next.js Documentation.

Build Presets

preset.config.mjs contains the build presets for the application. The presets are used to configure the build process for different environments. The presets are:

  • enableBroadcastChannelProvider: Enables the Broadcast Channel provider for the application. This is used to communicate between local browser tabs.
  • enableDebugPage: Enables the debug page for the application. This is used for debugging purposes.

BlockSuite Integration

Set LOCAL_BLOCK_SUITE=/path/to/blocksuite to use a local version of BlockSuite. This is useful for development.