feat: init @affine/docs (#2849)

This commit is contained in:
Alex Yang
2023-06-25 21:18:23 +08:00
committed by GitHub
parent d8bb51a222
commit d525bd9113
18 changed files with 729 additions and 12 deletions

21
apps/docs/entries.ts Normal file
View 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', {}]],
},
};
}
);