mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat: init @affine/docs (#2849)
This commit is contained in:
21
apps/docs/entries.ts
Normal file
21
apps/docs/entries.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { defineEntries } from 'waku/server';
|
||||
|
||||
export default defineEntries(
|
||||
// getEntry
|
||||
async id => {
|
||||
switch (id) {
|
||||
case 'App':
|
||||
return import('./src/app.js') as any;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
},
|
||||
// getBuildConfig
|
||||
async () => {
|
||||
return {
|
||||
'/': {
|
||||
elements: [['App', {}]],
|
||||
},
|
||||
};
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user