EbrahemSamer's avatar

npm run dev does not compiled my css successfully in tailwiled.config.js ?

I am in the second episode in Building Voting App series....

I've added



spacing: {
                70: '17.5rem',
                175: '43.75rem',
            },

            maxWidth: {
                'custom': '62.5rem',
            },

       
     	

Like instructor did and when I ran npm run dev command it says css compiled successfully

But 175 spacing does not work when I click inspect on the div.... it seems has no any style but the other dev has 17.rem

so it read the first element why ?

0 likes
1 reply
SebSob's avatar

Can you post the full tailwind config js? You might have purge on, which will remove the styles your not using.

Please or to participate in this conversation.