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-dropdown-menu - npm
A simple Dropdown Menu for React. Commonly used as a user 'Settings' menu on websites where users...
- 2Using 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...
- 3React-Bootstrap - importing modules - Stack Overflow
react-bootstrap doesn't have a default export, so the default import syntax ( import ReactBootstr...
- 4Dropdowns | React-Bootstrap
ARIA menus, must only contain role="menuitem" , role="menuitemcheckbox" ... Historically dropdown...
- 5A simple dropdown menu for React with Bootstrap icon trigger
Include bootstrap in your project(if not already included) ... React from 'react'; import { Dropd...