summaryrefslogtreecommitdiff
path: root/examples/with-markdown
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-markdown')
-rw-r--r--examples/with-markdown/.npmrc4
-rw-r--r--examples/with-markdown/astro.config.mjs8
-rw-r--r--examples/with-markdown/package.json5
3 files changed, 13 insertions, 4 deletions
diff --git a/examples/with-markdown/.npmrc b/examples/with-markdown/.npmrc
index 0cc653b2c..ef83021af 100644
--- a/examples/with-markdown/.npmrc
+++ b/examples/with-markdown/.npmrc
@@ -1,2 +1,2 @@
-## force pnpm to hoist
-shamefully-hoist = true \ No newline at end of file
+# Expose Astro dependencies for `pnpm` users
+shamefully-hoist=true
diff --git a/examples/with-markdown/astro.config.mjs b/examples/with-markdown/astro.config.mjs
index 7c835f30a..7de07db07 100644
--- a/examples/with-markdown/astro.config.mjs
+++ b/examples/with-markdown/astro.config.mjs
@@ -9,7 +9,11 @@
// @ts-check
export default /** @type {import('astro').AstroUserConfig} */ (
{
- // Set "renderers" to "[]" to disable all default, builtin component support.
- // renderers: [],
+ renderers: [
+ "@astrojs/renderer-preact",
+ "@astrojs/renderer-react",
+ "@astrojs/renderer-svelte",
+ "@astrojs/renderer-vue",
+ ],
}
);
diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json
index 2e30af40c..144e8d6de 100644
--- a/examples/with-markdown/package.json
+++ b/examples/with-markdown/package.json
@@ -9,6 +9,11 @@
"preview": "astro preview"
},
"devDependencies": {
+ "@astrojs/renderer-preact": "^0.5.0",
+ "@astrojs/renderer-react": "^0.5.0",
+ "@astrojs/renderer-svelte": "^0.4.0",
+ "@astrojs/renderer-vue": "^0.4.0",
+ "@astrojs/markdown-remark": "^0.6.1",
"astro": "^0.23.7"
}
}