一,为什么使用webpack和cnpm 二,如何使用 三,问题与解答 1, 在引用bootstrap的js页面,加入 global.jQuery = require('jquery'); require("bootstrap");