#v2_meta with .mdx route file fails if any meta included

1 messages · Page 1 of 1 (latest)

glass nebula
#

I tried an .mdx file in a route with the v2_meta: true future flag. Following the docs at: https://remix.run/docs/en/v1/guides/mdx

meta:
title: My First Post
description: Isn't this awesome?
headers:
Cache-Control: no-cache

This will blow up with the v2_meta invalid error. Anybody know if this (i.e. mdx) will still be supported with the v2_meta: true? or if there is a formatting change? If I remove the frontmatter it works.. was hoping for both though. Non-urgent.. just curious..

bold shard
#

Same issue

#

Ah, this works:

meta:
  - base: _blank
opaque badge
#

Yeah yaml is a bit weird, you need to use the yaml version of the new v2 meta format