【问题标题】:reactstrap install from github从 github 安装 reactstrap
【发布时间】:2018-07-26 10:21:22
【问题描述】:

我想要我的 react/redux 应用程序中的 reactstrap 中的最新提交。我已将其添加到我的 package.json 中:

"dependencies": {
      "reactstrap": "git@github.com:reactstrap/reactstrap.git#24951541a110451c167ff53e6ebb367972717bc5",
}

它似乎安装得很好,但是当我使用 npm start 启动我的开发服务器时,我收到以下错误:

 Module not found: 'reactstrap' in /myapp/src/views/Scans

我需要做些什么才能以这种方式安装它并正确包含它吗?

谢谢!

【问题讨论】:

    标签: reactjs npm npm-install reactstrap


    【解决方案1】:

    我正在查看docsreactstrap

    您是否按照安装说明也安装了bootstrap

    npm install --save bootstrap
    npm install --save reactstrap
    

    【讨论】:

      猜你喜欢
      • 2020-06-25
      • 2021-04-03
      • 1970-01-01
      • 2012-03-29
      • 1970-01-01
      • 2016-04-18
      • 2019-07-03
      • 2020-02-13
      • 2016-07-08
      相关资源
      最近更新 更多