Re:Vue CLI 3: A Game Changer for Front End Development?
by chrischen on Friday August 10, 2018 @05:23PM
(#17736853)
I think the main issue is the inconsistency in tutorials out there and the different ways of setting up webpack and using all the loaders. For example you can use loaders and specify them in config, or directly in an import/require statement.
Re:Vue CLI 3: A Game Changer for Front End Development?
by ng12 on Friday August 10, 2018 @05:25PM
(#17736866)
If that's the case I think FB could've served the community better by just publishing recommended Webpack configs than cargo-culting everyone into CRA.
Re:Vue CLI 3: A Game Changer for Front End Development?
by INTPenis on Friday August 10, 2018 @06:54PM
(#17737284)
As a backend person slowly breaking into frontend dev and using Vue.js, this is exactly the problem.
I started using vue-cli for my latest projects and it handles webpack for me. So far I haven't had a reason to touch webpack directly.
Re:Vue CLI 3: A Game Changer for Front End Development?
by gremlinsinc on Friday August 10, 2018 @06:32PM
(#17737166)
I generally just use it w/ laravel defaults and use laravel on backend... so far never had an issue... Sometimes I need to edit some stuff in the webpack config for edge cases, but still never had much problems.
Re:Vue CLI 3: A Game Changer for Front End Development?
by yarrel on Friday August 10, 2018 @05:19PM
(#17736818)
I think it depends on the use case. I've found Webpack unintuitive, heavy and complex but I can see how flexible and expressive it would be for people who need to do more than I need to.
Re:Vue CLI 3: A Game Changer for Front End Development?
by bazza451 on Friday August 10, 2018 @06:48PM
(#17737250)
Agree, never had any problem. People just can’t be bothered to learn
Re:Vue CLI 3: A Game Changer for Front End Development?
by lechiffre10 on Friday August 10, 2018 @10:33PM
(#17737954)
The point of create-react-app is to get up and running quickly. When you start wanting to customize things it doesn't really make much sense to use it at that point. That's why it's a mess.
Re:Vue CLI 3: A Game Changer for Front End Development?
by jsight on Friday August 10, 2018 @10:19PM
(#17737921)
I tend to agree, tbh. I would prefer these tools to focus on making webpack examples and making themselves easy to use in webpack.
I hope that we can get away from the plethora of little CLIs at some point.
Not to mention tools like this end up increasing the net complexity, not reducing it. I recently looked at forking create-react-app to get it working in a custom environment, and wow. What a mess.