[Vuejs]-Using vue js without components

0đź‘Ť

If certain content must be hidden from the client you can’t use vue and just keep using php and laravel blade’s @if, but then “reactivity” can only take place on a full page load.

If the content must only be hidden visually, of can be retrieved via an API then you can use Vue directives like v-if, v-show and use javascript to show and hide components.

Leave a comment