I set up new project with Rails 5.1.4, webpacker 3.0 and Vue.js, i used webpack doc to install Vue with Rails. 
When I hit foreman with my Procfile the Vues part fails.

[![enter image description here](https://i.stack.imgur.com/FdfUG.png)](https://i.stack.imgur.com/FdfUG.png)

I thought wepacker is smart enough for installing all the basic stuff to run app...

Edit: 
***bundle exec rails webpacker:install:vue***
Gave me this, still doesnt work

```
const { dev_server: devServer } = require('@rails/webpacker').config

const isProduction = process.env.NODE_ENV === 'production'
const inDevServer = process.argv.find(v => v.includes('webpack-dev-server'))
const extractCSS = !(inDevServer && (devServer && devServer.hmr)) || isProduction

module.exports = {
  test: /\.vue(\.erb)?$/,
  use: [{
    loader: 'vue-loader',
    options: { extractCSS }
  }]
}

```