Arnaldur
Comp is not a function when using remarkMath
I have been migrating a static site from solid-start 0.3 and it's mostly working.
It has a remarkFrontmatter plugin that I use to grab the frontmatter of posts.
To get the post data I use
import.meta.glob
from vite and all is working again.
When putting math into a mdx file, I get the error Comp is not a function
.
These are the packages I'm using
Note that @vinxi/plugin-mdx
reports this peer dependency issue.
But the older version works worse than the new version. Doesn't even work without any math.
This migration has been a little hard but that's no biggie. I've faced and resolved many issues performing it but I have no idea where to start on this one.
Thank you for all your support <311 replies