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 port an existing html/bootstrap scss website with some custom js code to gatsby? #11036

Closed
ergunpp opened this issue Jan 13, 2019 · 5 comments
Labels
stale? Issue that may be closed soon due to the original author not responding any more. status: needs reproduction This issue needs a simplified reproduction of the bug for further troubleshooting. type: question or discussion Issue discussing or asking a question about Gatsby

Comments

@ergunpp
Copy link

ergunpp commented Jan 13, 2019

Hi,
I have just finished my first website with Gatsbyjs showcasing around 15 products with product data coming from contentful.

Now I have another website running at chefschoice.com.tr that I want to port to gatsby. I have played around with directly adding existing scss to gatsby (which failed at module.exports even after adding node-sass plugin) and also with reactstrap. Reactstrap seemed to require a complete rewrite of the code.
Is there a quick and easy way or maybe a comprehensive documentation for this kind of migration?
I can not move forward, as with every little step there comes a problem that I have to spend hours to solve.

@devrchancay
Copy link
Contributor

hello @ergunpp

is it very rare what happens to you just to confirm these using version 2 of gatsby? for sass do you use gatsby-plugin-sass?

@ergunpp
Copy link
Author

ergunpp commented Jan 14, 2019

Yes I can confirm Version 2 and gatsby-plugin-sass

@sidharthachatterjee sidharthachatterjee added the type: question or discussion Issue discussing or asking a question about Gatsby label Jan 14, 2019
@sidharthachatterjee
Copy link
Contributor

@ergunpp Can you link to a reproduction repo for the issue you're facing with gatsby-plugin-sass?

@sidharthachatterjee sidharthachatterjee added the status: needs reproduction This issue needs a simplified reproduction of the bug for further troubleshooting. label Jan 14, 2019
@theevilhead
Copy link

theevilhead commented Jan 16, 2019

@ergunpp with Reactstrap I dont think you are experiencing problems with Reactstrap itself but rather with the bootstrap webpack support. Have you configured the webpack config file accordingly ? Maybe this might help in that https://getbootstrap.com/docs/4.0/getting-started/webpack . A solution to similar situation with mern-starter Hashnode/mern-starter#406

@sidharthachatterjee sidharthachatterjee added the stale? Issue that may be closed soon due to the original author not responding any more. label Jan 29, 2019
@gatsbot
Copy link

gatsbot bot commented Feb 9, 2019

Hey again!

It’s been 30 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it.

Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m HUMAN_EMOTION_SORRY. Please feel free to reopen this issue or create a new one if you need anything else.

Thanks again for being part of the Gatsby community!

@gatsbot gatsbot bot closed this as completed Feb 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale? Issue that may be closed soon due to the original author not responding any more. status: needs reproduction This issue needs a simplified reproduction of the bug for further troubleshooting. type: question or discussion Issue discussing or asking a question about Gatsby
Projects
None yet
Development

No branches or pull requests

4 participants