I have the following custom directive in vue
<h1 v-role="'admin'">Your Dashboard</h1>
It works fine but would be cleaner without the single quotes. Is this possible?
<h1 v-role="admin">Your Dashboard</h1>
I have the following custom directive in vue
<h1 v-role="'admin'">Your Dashboard</h1>
It works fine but would be cleaner without the single quotes. Is this possible?
<h1 v-role="admin">Your Dashboard</h1>
Your Dashboard
` – Lawrence Cherone Jun 28 '18 at 11:08Your Dashboard
`. However this is question of preference. – Crackers Jun 28 '18 at 11:34