3 ms·
>There is logic embedded in the view. What logic is that? The v-if part? I've done a few larger vue apps where users have many different permissions. I don't s
by esaym 7y ago
>There is logic embedded in the view.
What logic is that? The v-if part? I've done a few larger vue apps where users have many different permissions. I don't see anything wrong with hiding something on the front end if a user doesn't have the permission. What would the alternative be? I remember the days of handling permissions via HTML templating engines... certainly a simple v-if statement in vue is better than that.