MenuItem · Issue #3433 · react-bootstrap/react ... - GitHub
文章推薦指數: 80 %
Webpack keeps complaining: "export 'MenuItem' was not found in 'react-bootstrap'. The app has it imported like so: import { DropdownButton, ...
Skiptocontent
{{message}}
react-bootstrap
/
react-bootstrap
Public
Notifications
Fork
3.3k
Star
20.5k
Code
Issues
133
Pullrequests
30
Actions
Projects
1
Wiki
Security
Insights
More
Code
Issues
Pullrequests
Actions
Projects
Wiki
Security
Insights
Newissue
Haveaquestionaboutthisproject?SignupforafreeGitHubaccounttoopenanissueandcontactitsmaintainersandthecommunity.
Pickausername
EmailAddress
Password
SignupforGitHub
Byclicking“SignupforGitHub”,youagreetoourtermsofserviceand
privacystatement.We’lloccasionallysendyouaccountrelatedemails.
AlreadyonGitHub?
Signin
toyouraccount
Jumptobottom
MenuItem
#3433
Closed
zoobotopenedthisissue
Jan30,2019
·2comments
Closed
MenuItem
#3433
zoobotopenedthisissue
Jan30,2019
·2comments
Comments
Copylink
zoobot
commented
Jan30,2019
Iamtryingtomoveanappthatusesanolderversionofreact-bootstrapandcreate-react-apptoourownwebpacksetup.
Webpackkeepscomplaining:
"export'MenuItem'wasnotfoundin'react-bootstrap'.
Theapphasitimportedlikeso:
import{DropdownButton,MenuItem}from"react-bootstrap";
WhenIlookthroughyourcodeIdon'tseeitexportedanywhere.
AmImissingsomething?Didyouremoveitatsomepoint?
Thanksforanyhelp!
Thetextwasupdatedsuccessfully,buttheseerrorswereencountered:
Copylink
Member
taion
commented
Jan30,2019
it's
延伸文章資訊
- 1React-Bootstrap - importing modules - Stack Overflow
react-bootstrap doesn't have a default export, so the default import syntax ( import ReactBootstr...
- 2'react-bootstrap' does not contain an export named 'MenuItem
I tried doing npm start, and receiving the following error. ./src/app.js 104:16-24 'react-bootstr...
- 3Pro MERN Stack: Full Stack Web App Development with Mongo, ...
Full Stack Web App Development with Mongo, Express, React, and Node Vasan ... Button, NavDropdown...
- 4Attempted Import Error: 'Toast' Is Not Exported From 'React ...
There is an open issue in their github repo: https://github.com/reactbootstrap/reactbootstrap/iss...
- 5Using Bootstrap with React - LogRocket Blog
As a result, it's no longer necessary to use a DOM library, such as jQuery, to build web apps. Th...