How to include image in Vue Component CSS inline styles in a none relative path?
问题 So I have this Component code <template> <div class="example-class"> <p>Test</p> </div> </template> <style> .example-class { background-image: url("HOW to include the image here?"); } </style> How can I include the image in that style section code? My component is in a directory src/component/sample-comp/MyComponent.vue My images are in a directory assets/images I already tried using @/assets/images/sample-image.png It wont include the image. It is giving an error below ERROR Failed to