diff options
author | 2022-03-09 21:52:31 +0000 | |
---|---|---|
committer | 2022-03-09 13:52:31 -0800 | |
commit | 4b53a53c1b7df094b5bd194955ff1c4cf7cc809f (patch) | |
tree | 250c7cda1161b9874ace9bcc999f1cf97c0b7740 /examples/with-nanostores/src | |
parent | 43a5c06a9379fbe5f8f66e8fc9bf6879ad9b1dbf (diff) | |
download | astro-4b53a53c1b7df094b5bd194955ff1c4cf7cc809f.tar.gz astro-4b53a53c1b7df094b5bd194955ff1c4cf7cc809f.tar.zst astro-4b53a53c1b7df094b5bd194955ff1c4cf7cc809f.zip |
Update examples for 0.24.0 (#2740)
* removing Astro.resolve, adding sass dev dependencies
* updating tailwind example to use ESM style imports
* moving from `<style global>@import` to ESM imports
* updating lockfile to pick up examples sass deps
* chore(lint): ESLint fix
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'examples/with-nanostores/src')
-rw-r--r-- | examples/with-nanostores/src/pages/index.astro | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/with-nanostores/src/pages/index.astro b/examples/with-nanostores/src/pages/index.astro index 5aba10e8a..ad3fb4e26 100644 --- a/examples/with-nanostores/src/pages/index.astro +++ b/examples/with-nanostores/src/pages/index.astro @@ -1,4 +1,8 @@ --- +// Style Imports +import '../styles/global.css'; +import '../styles/home.css'; + // Component Imports import AdminsReact from '../components/AdminsReact.jsx'; import AdminsSvelte from '../components/AdminsSvelte.svelte'; @@ -17,11 +21,6 @@ import AdminsSolid from '../components/AdminsSolid.jsx'; <link rel="icon" type="image/x-icon" href="/favicon.ico" /> - <style global> - @import "../styles/global.css"; - @import "../styles/home.css"; - </style> - <style> header { display: flex; |