diff options
author | 2021-07-07 14:52:44 -0500 | |
---|---|---|
committer | 2021-07-07 14:52:44 -0500 | |
commit | 5d5d67c8f9b4df57d6be977d64d988e1850ee226 (patch) | |
tree | 6743ca41089324c2afb3bb1c3a04a954220e165c /examples/framework-vue/astro.config.mjs | |
parent | 42a1fd7c167257f78435ad6b2b4611f689a84544 (diff) | |
download | astro-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/framework-vue/astro.config.mjs')
-rw-r--r-- | examples/framework-vue/astro.config.mjs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/framework-vue/astro.config.mjs b/examples/framework-vue/astro.config.mjs new file mode 100644 index 000000000..1fec0a4dd --- /dev/null +++ b/examples/framework-vue/astro.config.mjs @@ -0,0 +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 + // 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-vue' + ] +}; |