Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Exporting custom path in md component does not work #30

Open
jurajhrib opened this issue Mar 8, 2019 · 0 comments
Open

Exporting custom path in md component does not work #30

jurajhrib opened this issue Mar 8, 2019 · 0 comments

Comments

@jurajhrib
Copy link

Hi, First of all, thank you for your awesome work on all the libs!

I noticed the export const path = '...' doesn't seem to work for me. I checked the code and by the looks of it, you only add custom exports when it's the Index component. And the exports are loaded in promise, so the path would not get there anyway I guess.

https://github.com/jxnblk/mdx-go/blob/master/lib/client/routes.js#L58

I am trying to achieve custom and nested links with custom menu, so that's why I needed this. I really like mdx-go and was avoiding using Gatsby, because this was more than sufficient for my needs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant