Giter Club home page Giter Club logo

Comments (3)

christhomas avatar christhomas commented on July 28, 2024

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.

iamsaksham avatar iamsaksham commented on July 28, 2024

@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.

christhomas avatar christhomas commented on July 28, 2024

yes, please make a pull request, thanks!

from react-bootstrap-typescript.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.