#How to resove image in <style> vue

1 messages · Page 1 of 1 (latest)

stiff orbit
#

Hi, I wanna set custom image on button:disabled

 button:disabled {
          img{
              content: url(lockSvg); //where lockSvg should be file in assets folder
            }
        }

how to pass content for img content style (src alternative in css)

stiff orbit
#

I need something like alternative to
content: url(require("~/assets/lock.svg"));