summaryrefslogtreecommitdiff
path: root/examples/docs/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/docs/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/docs/astro.config.mjs')
-rw-r--r--examples/docs/astro.config.mjs12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/docs/astro.config.mjs b/examples/docs/astro.config.mjs
index d97e2804d..6fd6bb47e 100644
--- a/examples/docs/astro.config.mjs
+++ b/examples/docs/astro.config.mjs
@@ -1,4 +1,16 @@
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
+ // 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)
+ },
+ 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'
]