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.
- [Vuejs]-How to upload multiple images/files with Javascript and Axios formdata
- [Vuejs]-Weex input number limit
Source:stackexchange.com