Skip to content

Instantly share code, notes, and snippets.

@DominikAngerer
Created June 5, 2019 13:14
Show Gist options
  • Save DominikAngerer/9f2c43c72de5ce29cddc2d6909642074 to your computer and use it in GitHub Desktop.
Save DominikAngerer/9f2c43c72de5ce29cddc2d6909642074 to your computer and use it in GitHub Desktop.
Nuxt Builder for Now
{
"version": 2,
"builds": [
{
"src": "nuxt.config.js",
"use": "@nuxtjs/now-builder",
"config": {}
}
],
"routes": [
{ "src": "/_nuxt/.+", "headers": { "Cache-Control": "max-age=31557600" } },
{ "src": "/(.*)", "dest": "/" }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment