code-share/renderer/+config.ts

19 lines
383 B
TypeScript
Raw Permalink Normal View History

2024-02-22 12:14:58 +00:00
import type { Config } from "vike/types";
export default {
clientRouting: true,
2024-02-23 19:36:10 +07:00
passToClient: ["routeParams", "cookies", "user"],
2024-02-22 12:14:58 +00:00
meta: {
title: {
env: { server: true, client: true },
},
description: {
env: { server: true },
},
2024-02-23 19:36:10 +07:00
Layout: {
env: { server: true, client: true },
},
2024-02-22 12:14:58 +00:00
},
hydrationCanBeAborted: true,
} satisfies Config;