Nuxt Route Meta

screenshot of Nuxt Route Meta
nuxt
vue

Adds Nuxt page data to route meta at build time. Also supports TypeScript.

Overview

The nuxt-route-meta module adds Nuxt page data to route meta at build time. This allows for accessing meta data at build time in the routes object itself, which is useful for postprocessing routes or for use with the @nuxtjs/sitemap module. This module parses the page files, extracts the meta data, and writes it to the meta field of each route corresponding to the page. It is compatible with Nuxt versions 2 and 3, and has built-in support for TypeScript.

Features

  • Parses Nuxt page files and extracts meta data
  • Writes meta data to route meta field at build time
  • Compatible with Nuxt versions 2 and 3
  • Built-in support for TypeScript

Summary

The nuxt-route-meta module is a useful tool for adding Nuxt page data to route meta at build time. It allows for accessing meta data in the routes object and is compatible with Nuxt versions 2 and 3. With built-in support for TypeScript, it provides an easy way to handle meta data for Nuxt projects.

nuxt
Nuxt

nuxt.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

vue
Vue

Vue.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.