mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 12:57:46 +00:00
chore: update Nuxt example (#10869)
This updates the default Nuxt example to start with a static route, plus updates dependencies with the latest version. Demo: https://nuxt-vercel-inky.vercel.app/ --------- Co-authored-by: Trek Glowacki <trek.glowacki@vercel.com>
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
export default {
|
||||
nitro: {
|
||||
preset: 'vercel-edge',
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
devtools: { enabled: true },
|
||||
routeRules: {
|
||||
// prerender index route by default
|
||||
'/': { prerender: true },
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user