Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to add image url in tailwindconfig .js

theme: {
   extend: {
   backgroundImage: theme => ({
    'hero-pattern': "url('~/images/px1.gif')",
   })
   },
},
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #image #url #tailwindconfig
ADD COMMENT
Topic
Name
5+4 =