diff options
Diffstat (limited to 'examples/fast-build')
-rw-r--r-- | examples/fast-build/.npmrc | 2 | ||||
-rw-r--r-- | examples/fast-build/package.json | 4 | ||||
-rw-r--r-- | examples/fast-build/src/pages/index.astro | 6 |
3 files changed, 8 insertions, 4 deletions
diff --git a/examples/fast-build/.npmrc b/examples/fast-build/.npmrc new file mode 100644 index 000000000..ef83021af --- /dev/null +++ b/examples/fast-build/.npmrc @@ -0,0 +1,2 @@ +# Expose Astro dependencies for `pnpm` users +shamefully-hoist=true diff --git a/examples/fast-build/package.json b/examples/fast-build/package.json index c78e88be7..1259721d0 100644 --- a/examples/fast-build/package.json +++ b/examples/fast-build/package.json @@ -10,8 +10,10 @@ "preview": "astro preview" }, "devDependencies": { + "@astrojs/renderer-vue": "^0.4.0", + "@astrojs/renderer-preact": "^0.5.0", "astro": "^0.23.7", - "preact": "~10.6.5", + "sass": "^1.49.8", "unocss": "^0.15.5", "vite-imagetools": "^4.0.1", "@astrojs/renderer-vue": "^0.4.0" diff --git a/examples/fast-build/src/pages/index.astro b/examples/fast-build/src/pages/index.astro index 0b7e7ff21..1ae672da6 100644 --- a/examples/fast-build/src/pages/index.astro +++ b/examples/fast-build/src/pages/index.astro @@ -3,7 +3,7 @@ import imgUrl from '../images/penguin.jpg'; import grayscaleUrl from '../images/random.jpg?grayscale=true'; import Greeting from '../components/Greeting.vue'; import Counter from '../components/Counter.vue'; -import { Code } from 'astro/components'; +// import { Code } from 'astro/components'; import InlineHoisted from '../components/InlineHoisted.astro'; import ExternalHoisted from '../components/ExternalHoisted.astro'; --- @@ -48,9 +48,9 @@ import ExternalHoisted from '../components/ExternalHoisted.astro'; <section> <h1>Astro components</h1> - <Code lang="css" code={`body { + <!-- <Code lang="css" code={`body { color: salmon; -}`} /> +}`} /> --> </section> <section> |