[Resolved] Error: Unknown require: bootstrap/less/bootstrap.lessAugust 5, 2019 at 9:38pm (Edited 12 months ago by @rokublac)
Learning React. Added React-Bootstrap to my project (Since we are a bootstrap shop) I am learning React and having problems loading the bootstrap css. Documentation states: .... import the less Bootstrap entry point in App.js with the line import 'bootstrap/less/bootstrap.less'. When doing this I get the above error. Thank you, Joe
August 7, 2019 at 3:14am
August 7, 2019 at 5:12pm
August 8, 2019 at 1:50am
August 8, 2019 at 12:33pm
Unfortunately at this time, Scrimba does not support importing CSS into your JS files in React. I'll put this on our list and create an issue for you on our GitHub page.
December 18, 2019 at 3:16pm