We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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" />
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.
The text was updated successfully, but these errors were encountered:
Is there a solution for this? I am having the same problem
Sorry, something went wrong.
No branches or pull requests
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
src/App.svelte
to the followingResult:
Expected:
The 3 divs should have a background color of red, blue and green respectively.
The text was updated successfully, but these errors were encountered: