DEV Community

loading...

Discussion on: Easy access control in your Vue apps

Collapse
rokkoo profile image
Alfonso • Edited

Hey, nice post!
What do you think if I do functional component as you do but in the template, if declarate 'funcional'.
It works well and I think it's an easy way to make it reusable no?
I'm new in vue and I`m learning this great framework 😊

imgur.com/a/c2NYZKc

Collapse
umarov profile image
Muzafar Umarov Author

Yeah, that could work as well. It's the same once Vue compiles the template. It will look like what I wrote.

Collapse
rokkoo profile image
Alfonso

Ahh okay, nice.
Thanks!!

Forem Open with the Forem app