From 8592b2367cec7056d565e003a14b146463289312 Mon Sep 17 00:00:00 2001 From: Yauheni Prakopchyk Date: Wed, 26 Apr 2023 18:53:38 +0400 Subject: [PATCH] test: try out route rules --- packages/docs/nuxt.config.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/docs/nuxt.config.ts b/packages/docs/nuxt.config.ts index 7e167b4cdf..6f5010f296 100644 --- a/packages/docs/nuxt.config.ts +++ b/packages/docs/nuxt.config.ts @@ -1,5 +1,12 @@ // https://v3.nuxtjs.org/api/configuration/nuxt.config export default defineNuxtConfig({ + // TEST Config + routeRules: { + '/': {static: true}, + '/en/**': {static: true}, + '/ru/**': {static: true}, + '/_nuxt/**': { headers: { 'cache-control': 's-maxage=0' } }, + }, app: { head: { link: [