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:
parent
6203b57974
commit
2440bbad88
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue