Skip to content
Loading
 
+1
  • +1

    Hi Do i get rid of this error on my App.js

    "Module not found: Error: You attempted to import ../node_modules/bootstrap/dist/css/bootstrap.min.css which falls outside of the project src/ dire"

    Also last question have five files Footer.js and import them all on my App.js see below because i want to implement a unique function on App.js that decrease and increase values.

    // App.js
    import Header from './components/Header';
    import Navbar from './components/Navbar';
    import Content from './components/Content';
    import Sidebar from './components/Sidebar';
    import Footer from './components/Footer';
    import "../node_modules/bootstrap/dist/css/bootstrap.min.css";
    function App() {
    return (










    );
    // function to show decrease and increase functionality
    function Increase_Decrease() {
    }
    }
    export default App;

    +1
  • Farhan Ahmed
    +1

    Install bootstrap use below command

    npm install bootstrap

    +1