Webpacker: Vue CLI 3 for webpacker 4

Created on 13 Aug 2018  路  3Comments  路  Source: rails/webpacker

Vue CLI 3 was fully released recently, and it's a huge upgrade in quality for developer experience. Way less webpack, better command line tools, and plugins that don't require ejecting, so it's very simple to add things to the setup. It's the most "convention over configuration" system I've seen in javascript land.

Having the webpacker install a Vue CLI 3 setup instead of the old style would be an awesome pairing. I imagine it's going to be relatively simple change with huge benefits for everybody. It uses webpack 4 behind the scenes so I think it would require webpacker 4.

Thanks for taking so much of the nightmare out of webpack via webpacker. 鉂わ笍

Most helpful comment

I don't, but someone recently posted an article about how to integrate vue cli with webpacker. I haven't tried it yet, but it looks solid.

I also have an example repository about how to integrate Vue CLI3 + Rails without webpacker.

You can also read the article author's thoughts on the advantages of his approach integrating webpacker vs my example repository's manual approach.

All 3 comments

@bbugh Do you happen to know if it is possible to upgrade an existing vue webpacker install to take advantage of Vue CLI 3?
Thanks

I don't, but someone recently posted an article about how to integrate vue cli with webpacker. I haven't tried it yet, but it looks solid.

I also have an example repository about how to integrate Vue CLI3 + Rails without webpacker.

You can also read the article author's thoughts on the advantages of his approach integrating webpacker vs my example repository's manual approach.

I think it's out of the scope of this gem.

The approach is correct though.
Myself I used this in this repo : https://github.com/guillaumebriday/rails-vue-cli with explanations in the readme

I think we can close this issue 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ijdickinson picture ijdickinson  路  3Comments

suhomozgy-andrey picture suhomozgy-andrey  路  3Comments

ilrock picture ilrock  路  3Comments

pioz picture pioz  路  3Comments

johan-smits picture johan-smits  路  3Comments