Fix resolve of scss/css-file in Starter Example (#2020)

I can't find the section in the documentation anymore about resolving SCSS-files (maybe it's gone since v0.21) but the Starter Example doesn't load the SCSS/CSS file anymore.

The change above fixes it.
This commit is contained in:
Stephan Bogner 2021-11-29 21:12:57 +01:00 committed by GitHub
parent 6203b57974
commit 2440bbad88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,8 +21,8 @@ let title = 'My Astro Site';
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="stylesheet" href={Astro.resolve('../styles/global.scss')}>
<link rel="stylesheet" href={Astro.resolve('../styles/home.scss')}>
<link rel="stylesheet" href={Astro.resolve('../styles/global.css')}>
<link rel="stylesheet" href={Astro.resolve('../styles/home.css')}>
<style>
header {