mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-25 06:32:27 +03:00
feat(docs): update document (#2877)
This commit is contained in:
parent
1556167262
commit
78b74d5b15
@ -25,11 +25,11 @@ const AppCreator = (pathname: string) =>
|
||||
const buffer = [...readFileSync(path)];
|
||||
|
||||
return (
|
||||
<div className="flex flex-col-reverse sm:flex-row">
|
||||
<div className="flex flex-col-reverse sm:flex-row h-screen">
|
||||
<nav className="w-full sm:w-64">
|
||||
<Sidebar />
|
||||
</nav>
|
||||
<main className="flex-1 p-6 w-full sm:w-[calc(100%-16rem)]">
|
||||
<main className="flex-1 p-6 w-full sm:w-[calc(100%-16rem)] overflow-scroll">
|
||||
<Editor
|
||||
workspaceId={pathname}
|
||||
pageId="1"
|
||||
|
Binary file not shown.
@ -180,6 +180,7 @@ const baseDir = process.env.LOCAL_BLOCK_SUITE ?? '/';
|
||||
const withDebugLocal = debugLocal(
|
||||
{
|
||||
'@blocksuite/editor': path.resolve(baseDir, 'packages', 'editor'),
|
||||
'@blocksuite/block-std': path.resolve(baseDir, 'packages', 'block-std'),
|
||||
'@blocksuite/blocks/models': path.resolve(
|
||||
baseDir,
|
||||
'packages',
|
||||
@ -203,6 +204,14 @@ const withDebugLocal = debugLocal(
|
||||
),
|
||||
'@blocksuite/blocks': path.resolve(baseDir, 'packages', 'blocks'),
|
||||
'@blocksuite/store': path.resolve(baseDir, 'packages', 'store'),
|
||||
'@blocksuite/store/providers/broadcast-channel': path.resolve(
|
||||
baseDir,
|
||||
'packages',
|
||||
'store',
|
||||
'src',
|
||||
'providers',
|
||||
'broadcast-channel'
|
||||
),
|
||||
},
|
||||
{
|
||||
enable: enableDebugLocal,
|
||||
|
@ -7,6 +7,9 @@
|
||||
"./theme/*": "./src/theme/*",
|
||||
"./*": "./src/components/*/index.tsx"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "yarn workspace @affine/i18n build"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@blocksuite/blocks": "*",
|
||||
"@blocksuite/editor": "*",
|
||||
|
Loading…
Reference in New Issue
Block a user