v1.2.1
⚙️ Updates
- Astro to version 0.23.2
🏗️ Changes
Import CSS and images the recommended way, instead of deprecated Astro.resolve()
as per the documentation:
- Move
logo.svg
to/assets/img/
folder - Move styles to
/assets/scss/
folder - Import styles in
DefaultLayout.astro
usingimport '../assets/scss/globals.scss'
in the front matter - Reference logo using
<img src={(await import('../assets/img/logo.svg')).default} alt="Your Logo">
- Update style
@use
references in some of the components