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 can I import less or sass in Mdx from npm package? #28

Closed
jansesun opened this issue Jun 13, 2018 · 3 comments
Closed

How can I import less or sass in Mdx from npm package? #28

jansesun opened this issue Jun 13, 2018 · 3 comments

Comments

@jansesun
Copy link

How can I import less or sass in Mdx from npm package?

Description
I try to import less in Mdx from node_modules as below:

import 'style-mobile';

But it does not work in the document site

@Swapnull
Copy link
Contributor

Hi,
I think you need to supply a less loader. Have a look at #6 and see if that helps - Looks like this should be put in the documentation somewhere.

@pedronauck
Copy link
Member

That's a true @Swapnull, I think that create some plugins and put this information on docz.site in really necessary!

By now I'll close this issue in favor of #6

@pedronauck
Copy link
Member

After released v0.2.11 you can use docz-plugin-css to configure your CSS just by adding a plugin ✌️

@Swapnull @jansesun

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

No branches or pull requests

3 participants