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-tailwindcss/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-tailwindcss/src')
-rw-r--r-- | examples/with-tailwindcss/src/pages/index.astro | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/with-tailwindcss/src/pages/index.astro b/examples/with-tailwindcss/src/pages/index.astro index 6a5ca8f96..ba346e6c2 100644 --- a/examples/with-tailwindcss/src/pages/index.astro +++ b/examples/with-tailwindcss/src/pages/index.astro @@ -1,8 +1,7 @@ --- // Component Imports import Button from '../components/Button.astro'; -// Imports the global styles to be inlined in the <head> -import styles from '../styles/global.css'; +import '../styles/global.css'; // Full Astro Component Syntax: // https://docs.astro.build/core-concepts/astro-components/ @@ -13,7 +12,6 @@ import styles from '../styles/global.css'; <meta charset="UTF-8" /> <link rel="icon" type="image/x-icon" href="/favicon.ico" /> <title>Astro + TailwindCSS</title> - <style set:html={styles}></style> </head> <body> |