title: Include bootstrap js modules in webpack
body: <p>I successfully use this <a href="https://www.npmjs.com/package/bootstrap" rel="nofollow">bootstrap</a> CSS and fonts but dropdowns not work and I can't see any errors in console so I can't debug the issue. Seems like I need to do something to include <code>dropdown.js</code> from <code>node_modules\bootstrap\js\</code>, but how to do this in "webpacking" way?</p>
  
  <p>package.json:</p>
  
  <pre><code>  ...
    "dependencies": {
      "bootstrap": "*",
      "jquery": "*",
      "vue-resource": "*",
      "vue-router": "*",
      "vue": "*"
    }
    ...
  </code></pre>
  
  <p>webpack.config.js</p>
  
  <pre><code>module.exports = {
      // the main entry of our app
      entry: ['./src/index.js', './src/auth/index.js'],
      // output configuration
      output: {
          path: __dirname + '/build/',
          publicPath: 'build/',
          filename: 'build.js'
      },
  
      module: {
          loaders: [
              // process *.vue files using vue-loader
              {test: /\.vue$/, loader: 'vue'},
              // process *.js files using babel-loader
              // the exclude pattern is important so that we don't
              // apply babel transform to all the dependencies!
              {test: /\.js$/, loader: 'babel', exclude: /node_modules/}
          ]
      },
  
      devServer: {
          headers: {"Access-Control-Allow-Origin": "*"}
      },
  
      babel: {
          presets: ['es2015'],
          plugins: ['transform-runtime']
      }
  }
  </code></pre>
  
  <p>Some manuals describe how to use another package <a href="https://www.npmjs.com/package/bootstrap-webpack" rel="nofollow">bootstrap-webpack</a>. I can't understand what the difference, and do I also need use that package insted of bootstrap from twbs</p>