Is it possible to use both Astro.js & Sass/Scss?

Same as title: Can you use Sass (or scss) in conjunction with the astro.js framework? I suspect that the answer is no—or that you could, but there wouldn’t be much point, since you can already write the css in each page with astro—but I wanted to verify.
4 Replies
vince
vince16mo ago
Yes that's how I exclusively write css in Astro. You just use <style lang="scss"></style> You can even import files and namespaces too
vince
vince16mo ago
Astro Documentation
Styles & CSS
Learn how to style components in Astro with scoped styles, external CSS, and tooling like Sass and PostCSS.
Pathos316
Pathos316OP16mo ago
Huh neat! I’ll give that a look 🙂
vince
vince16mo ago
Let me know if you have any questions!
Want results from more Discord servers?
Add your server