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
Yes that's how I exclusively write css in Astro. You just use
<style lang="scss"></style>
You can even import files and namespaces tooAstro Documentation
Styles & CSS
Learn how to style components in Astro with scoped styles, external CSS, and tooling like Sass and PostCSS.
Huh neat! I’ll give that a look 🙂
Let me know if you have any questions!