feat: render semantic portfolio document
This commit is contained in:
7
src/entry-server.ts
Normal file
7
src/entry-server.ts
Normal 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));
|
||||
}
|
||||
Reference in New Issue
Block a user