Comments (3)
Hi, sorry I was on a little vacation from my github, I don't know why you are getting this error, perhaps you can tell me a bit about your setup, how you installed react-bootstrap and react-bootstrap-typescript.
as much info as possible would be useful, thanks!
from react-bootstrap-typescript.
@christhomas To reduce size of app, instead of doing import Button from 'react-bootstrap'
we can do import Button from 'react-bootstrap/lib/Button'
. But the TSD are made using react-bootstrap/src/Button
so error pops out Module not found: Error: Cannot resolve module 'react-bootstrap/src/Button'
.
Now on installing 'react-bootstrap' there is no src folder in node_modules/react-bootstrap so it says Module not found. So changing react-bootstrap/src to react-bootstrap/lib does the job. Do you want me to make a pull request for this?
from react-bootstrap-typescript.
yes, please make a pull request, thanks!
from react-bootstrap-typescript.
Related Issues (9)
- How to import specific component from react-bootstrap with Typescript HOT 1
- I can't find TableRow and Table Col HOT 1
- Archive this repo? HOT 3
- How to import ControlLabel and HelpBlock? HOT 1
- bs-Properties are not supported in type definitions HOT 5
- Table does not support "fill" property
- No version number HOT 1
- Needs to be updated on DefinitelyTyped ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-bootstrap-typescript.