Lloyd Richards Design
FRONTEND
MDX

May 18, 2023

Getting Started with rebuilding my website with MDX and Contentlayer

Getting Started

This is a test post to see how MDX and Contentlayer work together. I'm hoping to rebuild my website with this stack.

Importing TSX Components

This is a line chart that I wrote in TSX. It's a bit of a pain to import it into MDX, but it's possible.

Importing Story

Attemped to import the Meta and Canvas components from a storybook story. This didn't work. I think it's because the storybook is also a MDX compiler and contentlayer doesn't like that.