feat: render semantic portfolio document

This commit is contained in:
2026-09-02 01:17:45 +03:00
parent bc851e398b
commit 7d136ef16d
17 changed files with 488 additions and 0 deletions

7
src/entry-server.ts Normal file
View File

@@ -0,0 +1,7 @@
import { renderToString } from '@vue/server-renderer';
import { createApp } from './app';
import type { ProductionInputs } from './content/types';
export async function render(_url: string, inputs: Readonly<ProductionInputs>) {
return renderToString(createApp(inputs));
}