Metadata

Metadata allows custom data to be added to a route.

To add metadata, insert a comment with routify:options

<!-- routify:options index=1 -->
<!-- routify:options index=1 -->

The metadata can then be accessed through $route.meta

import { route } from @sveltech/routify const { meta } = $route
import { route } from @sveltech/routify
const { meta } = $route

Writing good documentation that is up-to-date is difficult. If you notice a mistake, help us out.