Adding Background image From tailwind Config #118
-
Hello how to add background image from tailwind.config.js file
the problem is that when i compile with laravel mix it shows an error ERROR in ./resources/css/app.css |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I'm not using Laravel mix but I'm also not able to get it to work with a relative path. When done absolute, it works for me, but I'd rather not do it like this:
|
Beta Was this translation helpful? Give feedback.
I'm not using Laravel mix but I'm also not able to get it to work with a relative path. When done absolute, it works for me, but I'd rather not do it like this:
'hero-pattern': "url('/wp-content/themes/<themeName>/img/HeroBackground.jpg')",