I have a content project working great locally however nuxt-content is not displayed when deploying to Vercel with @nuxtjs/now-builder.
Has anyone worked out a way to get content to work with the now-builder module?
Is there a easy config for the now.json? Or am I looking at it the wrong way?
I'm using the default now.json config at the moment:
{
"version": 2,
"builds": [
{
"src": "nuxt.config.js",
"use": "@nuxtjs/now-builder",
"config": {
"serverFiles": ["package.json"]
}
}
]
}
Thanks
Hi @paolomolo
Please try this:
{
"version": 2,
"builds": [
{
"src": "nuxt.config.js",
"use": "@nuxtjs/now-builder",
"config": {
"serverFiles": [
"content/**"
]
}
}
]
}
Works like a charm! Thanks @hunterliu1003
Most helpful comment
Hi @paolomolo
Please try this: