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 Use With GatsbyJS #61

Closed
ghost opened this issue Dec 24, 2019 · 3 comments
Closed

How to Use With GatsbyJS #61

ghost opened this issue Dec 24, 2019 · 3 comments

Comments

@ghost
Copy link

ghost commented Dec 24, 2019

I am trying to use your plugin with Ant Design in a Gatsby JS site, but can't seem to get it to work. I opened up a Stack Overflow question about it: https://stackoverflow.com/questions/59470004/using-ant-design-variables-in-styled-components

If you can, could you please offer an example or instructions of how to use your plugin with Gatsby?

Thanks.

@jean343
Copy link
Owner

jean343 commented Dec 24, 2019

Thanks for the question, it should be possible, I am using styless and Antd in a Next.js environment.
The error that you see is related to less-vars-to-js, and I have an alternative to that library.
Let me make a GatsbyJS project and I can see :)

@ghost
Copy link
Author

ghost commented Dec 24, 2019

Thanks for the quick response and taking the time to figure this out. It is much appreciated. I look forward to hearing the response.

@jean343
Copy link
Owner

jean343 commented Dec 24, 2019

This question was answered on Stack Overflow https://stackoverflow.com/a/59472390/3666615.
I will update the documentation to mention Antd.

Thanks again,

@jean343 jean343 closed this as completed Dec 24, 2019
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

1 participant