Skip to content

Commit 3b997c4

Browse files
committed
build: prerender all component routes
1 parent ba96250 commit 3b997c4

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

nuxt.config.ts

+11-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,17 @@ export default defineNuxtConfig({
1111
prerender: {
1212
routes: [
1313
'/',
14-
'/getting-started/**/*',
15-
'/styled-system/**/*',
16-
'/components/**/*',
14+
'/getting-started',
15+
'/getting-started/installation',
16+
'/getting-started/nuxt',
17+
'/getting-started/design-principles',
18+
'/styled-system',
19+
'/styled-system/responsive-styles',
20+
'/components/accordion',
21+
'/components/alert',
22+
'/components/avatar',
23+
'/components/checkbox',
24+
'/components/tag',
1725
'/sitemap.xml'
1826
]
1927
},

0 commit comments

Comments
 (0)