I want to use an image as a cursor in my vue app. I tried to do it as below:
<template>
<v-app
:style="{
cursor:
'url(' + require('@/assets/images/custom_cursor.png') + ')'
}"
>
When I write backgroundImage instead of cursor, the url works.
When I write 'circle' instead of url link for cursor, it also works.
But when I use the url for the cursor, it doesn't work.
Can anybody please help? I use Vuetify as a css framework by the way.
Note: I will make a dynamic class out of it using computed but I should figure out how to call an image as a cursor. My guess is that vuetify doesn't let an image through url overwrite the default cursor.