Open AgarwalPragy opened 3 years ago
Issue: Not all the required tailwind classes are exported to public/global.css, which leads to unstyled components
Steps to reproduce:
npx degit sveltejs/template svelte-app cd svelte-app node scripts/setupTypescript.js
npm i smelte
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
Update src/App.svelte to the following
src/App.svelte
<script lang="ts"> import "smelte/src/tailwind.css"; </script> <main> <div class="bg-red-200">This isn't working</div> <div class="bg-blue-200">This works!</div> <div class="bg-green-200">This isn't working either</div> </main>
npm run dev
Result:
Expected: The 3 divs should have a background color of red, blue and green respectively.
Is there a solution for this? I am having the same problem
Issue: Not all the required tailwind classes are exported to public/global.css, which leads to unstyled components
Steps to reproduce:
Update
src/App.svelte
to the followingResult:
Expected: The 3 divs should have a background color of red, blue and green respectively.