Add payload plugin for ClientSchedule
Add plugin to serialise ClientSchedule objects as JSON when it's passed from the server to client on SSR requests.
This commit is contained in:
parent
fb7a60db28
commit
73bb12c104
3 changed files with 28 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
const enableDevtools = !process.env.DISABLE_DEV_TOOLS
|
||||
export default defineNuxtConfig({
|
||||
experimental: { renderJsonPayloads: true },
|
||||
compatibilityDate: '2024-11-01',
|
||||
devtools: { enabled: enableDevtools },
|
||||
runtimeConfig: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue