title: Webpack not works and not throws errors
body: <p>I am use webpack to encapsulate my cart vuejs component. This component has other three components:</p>
  
  <pre><code>Cart.vue
  CartLine.vue
  CartResume.vue
  </code></pre>
  
  <p>After execute <code>npm run build</code> this build a unique js file with my vue components -> <code>cart.js</code></p>
  
  <p>The problem is that nothing happens, the component not works and the chrome dev tools not throw errors.</p>
  
  <p>What is the problem? Do I need to start the webpack?</p>
  
  <p>This is my html code:</p>
  
  <pre><code>&lt;div id="cart-section"&gt;
    &lt;cart ref="cart_lines" :route_create="'{{ route('web.create',['$article_slug','$article_id']) }}?line_ref=$cart_line_id'" @onmodified="_onModified"&gt;&lt;/cart&gt;
  
   &lt;cart-resume ref="cart_resume" &gt;&lt;/cart-resume&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This is my js in the html document:</p>
  
  <pre><code>Vue.config.debug = true; Vue.config.devtools = true;
          new Vue({
  
              el: '#cart-section',
  
              methods : {
  
                  _onModified : function()
                  {                
                      this.$refs.cart_resume.load();
                  }
              },
  
          });
  </code></pre>
  
  <p>And this is my webpack configuration: </p>
  
  <pre><code>var path              = require('path')
  var webpack           = require('webpack')
  var ExtractTextPlugin = require("extract-text-webpack-plugin")
  
  module.exports = {
    //entry: './src/cart/main.js',
    entry: {
        cart    : "./src/cart/Cart.vue",
        tickets : "./src/tickets/tickets.vue.js",
    },
    output: {
      //path: path.resolve(__dirname, './dist'),
      path: path.join(__dirname, "dist"),    
      publicPath: '/dist/',
      filename: '[name]/[name].min.js'
    },
    module: {
      rules: [
        {
          test: /\.vue$/,
          loader: 'vue-loader',
          options: {
            loaders: {
              css: ExtractTextPlugin.extract({
                use: 'css-loader',
                fallback: 'vue-style-loader' // &lt;- this is a dep of vue-loader, so no need to explicitly install if using npm3
              })
            }
            // other vue-loader options go here
          }
        },
        {
          test: /\.js$/,
          loader: 'babel-loader',
          exclude: /node_modules/
        },
        {
          test: /\.(png|jpg|gif|svg)$/,
          loader: 'file-loader',
          options: {
            name: '[name].[ext]?[hash]'
          }
        }
      ]
    },
    plugins: [
      new ExtractTextPlugin("[name]/[name].min.css"),
    ],
    resolve: {
      alias: {
        'vue$': 'vue/dist/vue.esm.js'
      }
    },
    devServer: {
      historyApiFallback: true,
      noInfo: true
    },
    performance: {
      hints: false
    },
    devtool: '#eval-source-map'
  }
  
  if (process.env.NODE_ENV === 'production') 
  {
    module.exports.devtool = '#source-map'
    // http://vue-loader.vuejs.org/en/workflow/production.html
    module.exports.plugins = (module.exports.plugins || []).concat([
      new webpack.DefinePlugin({
        'process.env': {
          NODE_ENV: '"production"'
        }
      }),
      /*new webpack.optimize.UglifyJsPlugin({
        sourceMap: true,
        compress: {
          warnings: false
        }
      }),*/
      new webpack.LoaderOptionsPlugin({
        minimize: false
      })
    ])
  }
  else
  {
    // dev
  }
  </code></pre>