Skip to content

Commit

Permalink
docs: separate defineI18nRoute into separate page and category
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbieGoede committed Jan 17, 2025
1 parent 6ee830c commit c20a346
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: Compiler Macros
description: Compiler Macros for Nuxt i18n module
title: defineI18nRoute
---

`defineI18nRoute()`{lang="ts"} is a compiler macro that you can use to set custom route paths for your **page** components located in the `pages/` directory (unless [set otherwise](https://nuxt.com/docs/api/configuration/nuxt-config#pages-1)). This way you can set custom route paths for each static or dynamic route of your Nuxt application.
Expand Down
1 change: 1 addition & 0 deletions docs/content/docs/7.compiler-macros/_dir.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
title: Compiler Macros

0 comments on commit c20a346

Please sign in to comment.