An extremely barebones Astro template for an HTML site with Sass. You can use this over the empty default template provided by Astro as this template comes pre-built with basic HTML layout foundation.
This template also includes normalize.css. It is linked in the head of the Base Layout.
-
If you have not already, install the official Astro VSCode Extension for syntax highlighting, TypeScript type information and intellisense.
-
Clone this repo:
git clone https://github.com/MichaelFarquhar/astro-html-sass-template.git
-
Make any changes needed to package.json.
This template comes with sass installed and all sass can be written in-line inside .astro files.You can do so with the following syntax: <style lang="scss">