summaryrefslogtreecommitdiff
path: root/examples/blog-multiple-authors/astro.config.mjs
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2021-07-07 14:52:44 -0500
committerGravatar GitHub <noreply@github.com> 2021-07-07 14:52:44 -0500
commit5d5d67c8f9b4df57d6be977d64d988e1850ee226 (patch)
tree6743ca41089324c2afb3bb1c3a04a954220e165c /examples/blog-multiple-authors/astro.config.mjs
parent42a1fd7c167257f78435ad6b2b4611f689a84544 (diff)
downloadastro-5d5d67c8f9b4df57d6be977d64d988e1850ee226.tar.gz
astro-5d5d67c8f9b4df57d6be977d64d988e1850ee226.tar.zst
astro-5d5d67c8f9b4df57d6be977d64d988e1850ee226.zip
Add framework-specific prompt and setup to `create-astro` (#620)
* feat(create-astro): add framework-specific prompt and setup * chore: normalize example `astro.config.mjs` files
Diffstat (limited to 'examples/blog-multiple-authors/astro.config.mjs')
-rw-r--r--examples/blog-multiple-authors/astro.config.mjs9
1 files changed, 6 insertions, 3 deletions
diff --git a/examples/blog-multiple-authors/astro.config.mjs b/examples/blog-multiple-authors/astro.config.mjs
index d72db6491..e6e926d7b 100644
--- a/examples/blog-multiple-authors/astro.config.mjs
+++ b/examples/blog-multiple-authors/astro.config.mjs
@@ -1,14 +1,17 @@
export default {
// projectRoot: '.', // Where to resolve all URLs relative to. Useful if you have a monorepo project.
- // pages: './src/pages', // Path to Astro components, pages, and data
+ // pages: './src/pages', // Path to Astro components, pages, and data
// dist: './dist', // When running `astro build`, path to final static output
// public: './public', // A folder of static files Astro will copy to the root. Useful for favicons, images, and other files that don’t need processing.
buildOptions: {
- site: 'http://example.com', // Your public domain, e.g.: https://my-site.dev/. Used to generate sitemaps and canonical URLs.
- // sitemap: true, // Generate sitemap (set to "false" to disable)
+ // site: 'http://example.com', // Your public domain, e.g.: https://my-site.dev/. Used to generate sitemaps and canonical URLs.
+ sitemap: true, // Generate sitemap (set to "false" to disable)
},
devOptions: {
// port: 3000, // The port to run the dev server on.
// tailwindConfig: '', // Path to tailwind.config.js if used, e.g. './tailwind.config.js'
},
+ renderers: [
+ '@astrojs/renderer-preact'
+ ]
};