B
B
BonBon Slick2017-08-14 13:44:56
Laravel
BonBon Slick, 2017-08-14 13:44:56

Laravel @include() vs @component?

What's the point of a component if @include can be used?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
ajaxtelamonid, 2017-08-14
@BonBonSlick

Because vue. There is no practical sense, this is a duplication of functionality. Made for beauty, to unify the connection of blocks in views, so that people who come from the front do not get confused. "So, in vue we include components, but in laravel .. include ? What kind of include ? Why not component ? It's hard, remembering an extra word again."

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question