-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move content folder HTML to SRC folder #62
Comments
Sure. So you're trying to move the content folder under
|
Thanks for the reply. Actually I am trying to use this as a component and just use the design in one of the pages I have under src/ like you showed in this eg. https://github.com/arshad/reflex-mdx-js/blob/master/src/pages/app.js But when I do this, the css seems to be missing. Can you direct me on what I am doing wrong?
Below is a screenshot of what I see in the UI |
Hmm this looks good. It seems like some of the styles are coming through? |
No actually is the default css which we have used in the site. In code we used grid as well, but we are not seeing grid here |
I couldn't reproduce this with a clean install. See https://codesandbox.io/s/hungry-liskov-iekdt?file=/src/pages/login.js Any other files that could've been overridden? Like theme.js? PS: The |
We just started seeing this today as well. A fix is on the way. |
Looks like this is a different bug. Is this for a mdx page placed inside |
Are you doing any customization to layout or the MDXProvider? |
I see. Can you try wrapping + import { MDXProvider } from "@reflexjs/gatsby-theme-core"
- <>{children}</>
+ < MDXProvider >{children}</MDXProvider> |
Did this fix the warnings? Let's add a + import { ThemeProvider } from "theme-ui"
+ import theme from "@reflexjs/preset-base"
- <MDXProvider >{children}</MDXProvider>
+ <ThemeProvider theme={theme}>
+ <MDXProvider >{children}</MDXProvider>
+ </ThemeProvider> I guess the layout changes is why we need these updates. |
Here is a codesandbox link of what we are trying to achieve. |
Seems to be coming from I'll take a look at how we can get |
Thank you for taking the time. Please get back regarding how gatsby-plugin-layout and mdx can work together as soon as possible. |
I am trying to implement content folder html in my src folder. Could you please share that How I can add css and JS styling into my src HTML?
The text was updated successfully, but these errors were encountered: