Skip to content
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

How to load md it is giving the webpack #18152

Closed
ReactorboY opened this issue Nov 2, 2019 · 3 comments
Closed

How to load md it is giving the webpack #18152

ReactorboY opened this issue Nov 2, 2019 · 3 comments
Labels
support: Stack Overflow Please ask the community on Stack Overflow

Comments

@ReactorboY
Copy link

Unable to load md file in Blog.js file, showing issue with webpack loading #

@oliviertassinari oliviertassinari added the support: Stack Overflow Please ask the community on Stack Overflow label Nov 2, 2019
@support
Copy link

support bot commented Nov 2, 2019

👋 Thanks for using Material-UI!

We use GitHub issues exclusively as a bug and feature requests tracker, however,
this issue appears to be a support request.

For support, please check out https://material-ui.com/getting-started/support/. Thanks!

If you have a question on StackOverflow, you are welcome to link to it here, it might help others.
If your issue is subsequently confirmed as a bug, and the report follows the issue template, it can be reopened.

@support support bot closed this as completed Nov 2, 2019
@oliviertassinari
Copy link
Member

oliviertassinari commented Nov 2, 2019

@ReactorboY Tip: https://github.com/mui-org/material-ui/blob/f23c7a9bdcf3fc0b7e0eb351b7540bb3054fbc7c/docs/next.config.js#L81-L92

Also, note that we have an open issue to convert the free page layout examples into small project people can directly start with: #14604.

@ReactorboY
Copy link
Author

@ReactorboY Tip:

https://github.com/mui-org/material-ui/blob/f23c7a9bdcf3fc0b7e0eb351b7540bb3054fbc7c/docs/next.config.js#L81-L92

Also, note that we have an open issue to convert the free page layout examples into small project people can directly start with: #14604.

thanks for the reply but I used something like this

module.exports = {
    webpack: (config) => {
        config.module.rules.push({
            test: /\.md$/,
            use: 'raw-loader'
        })

        return config
    },
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support: Stack Overflow Please ask the community on Stack Overflow
Projects
None yet
Development

No branches or pull requests

2 participants