【问题标题】:How to migrate from bower to npm如何从 bower 迁移到 npm
【发布时间】:2018-04-29 21:48:59
【问题描述】:

我正在使用 jhipster 项目,在这个项目中使用了 bower 和 npm。

现在我们必须弃用凉亭。移至 npm 包。

如何使用 npm 而不是 Yarn 或其他命令将 bower 移动到 npm?

【问题讨论】:

  • 你有没有找到相同的解决方案,你可以在这里写下答案,以便对其他人有所帮助

标签: spring-boot npm bower jhipster


【解决方案1】:

关于它有many blog articles and even tools,因为这部分与JHipster无关。 唯一的 JHipster 部分是使用 gulp 和 bower 将 bower_components 注入到 index.html 的构建过程(参见 gulp/inject.js),它依赖于 main-bower-files.

从 gulp 迁移到 webpack 可能需要更多的工作。

【讨论】:

    猜你喜欢
    • 2018-09-17
    • 2018-07-03
    • 2018-03-10
    • 2018-04-01
    • 1970-01-01
    • 2018-04-26
    • 2015-05-18
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多