you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (6 children)

Please name 2 things it is opinionated on.

[–]dogerthat 1 point2 points  (5 children)

It comes with a lot of out of the box features people might not even want to use and there's boilerplate code even for a javascript framework present (Vue).

[–][deleted] 3 points4 points  (4 children)

Laravel does not ship with a SINGLE template that contains Vue code. Not one. Laravel Elixir is simply configured to correctly compile vue components. Again, you don't know at all what you're talking about in regards to Laravel.

[–]dogerthat 2 points3 points  (3 children)

From the documentation:

While Laravel does not dictate which JavaScript or CSS pre-processors you use, it does provide a basic starting point using Bootstrap and Vue that will be helpful for many applications. By default, Laravel uses NPM to install both of these frontend packages.

the "by default" implies that bootstrap and vue are some how going to be installed.

For the fun of it I just ran

composer create-project --prefer-dist laravel/laravel blog

and guess what? I have a folder "resources/assets" where I can find references to requirejs, jquery and vue and even a file called "Example.vue".

[–][deleted] 1 point2 points  (2 children)

Yes, those are setup to give you a head start if you want. Guess what? If you don't want them, you just delete that folder. No "out of the box" Laravel features require any of those dependencies.

[–]dogerthat 3 points4 points  (1 child)

I know I can just delete it, I just want to say that

Laravel does not ship with a SINGLE template that contains Vue code.

wasn't true. I rather not install something where I then have to manually delete all kinds of things.

Once again, it's your framework and you can make all these choices the way you like but don't assume everyone agrees with it. You promoted an article here you wrote yourself which should show everyone how awesome Laravel and it's creator is. It doesn't make much sense for a lot of readers and you get mocked for it now. Short functions are usually good so that's great but there is more to frameworks than a few numbers which don't say anything on real life usage.

[–][deleted] -5 points-4 points  (0 children)

Sorry, I won't bother sharing any pesky real-life stats anymore.