summaryrefslogtreecommitdiff
path: root/examples/remote-markdown/docs/dev.md
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2021-06-02 11:35:28 -0500
committerGravatar GitHub <noreply@github.com> 2021-06-02 11:35:28 -0500
commit94eac19888398e91d436cf31867ba9d3397e1d1a (patch)
treefb321d70f2a1a09ca35b5507bbf6b7f240ebc5bc /examples/remote-markdown/docs/dev.md
parent4dd18deab959adaf3f1f31b4e47349a657d273f0 (diff)
downloadastro-94eac19888398e91d436cf31867ba9d3397e1d1a.tar.gz
astro-94eac19888398e91d436cf31867ba9d3397e1d1a.tar.zst
astro-94eac19888398e91d436cf31867ba9d3397e1d1a.zip
Pre-release refactors (#289)
* refactor: expose `astro/components` as component entrypoint * refactor: remove `extensions` from all configs * test: fix snowpack tests * docs: update config doc
Diffstat (limited to 'examples/remote-markdown/docs/dev.md')
-rw-r--r--examples/remote-markdown/docs/dev.md48
1 files changed, 0 insertions, 48 deletions
diff --git a/examples/remote-markdown/docs/dev.md b/examples/remote-markdown/docs/dev.md
deleted file mode 100644
index d9223cbbd..000000000
--- a/examples/remote-markdown/docs/dev.md
+++ /dev/null
@@ -1,48 +0,0 @@
-# Development Server
-
-The development server comes as part of the Astro CLI. Start the server with:
-
-```shell
-astro dev
-```
-
-In your project root. You can specify an alternative
-
-## Special routes
-
-The dev server will serve the following special routes:
-
-### /400
-
-This is a custom **400** status code page. You can add this route by adding a page component to your `src/pages` folder:
-
-```
-├── src/
-│ ├── components/
-│ └── pages/
-│ └── 400.astro
-```
-
-For any URL you visit that doesn't have a corresponding page, the `400.astro` file will be used.
-
-### /500
-
-This is a custom **500** status code page. You can add this route by adding a page component to your `src/pages` folder:
-
-```astro
-├── src/ │ ├── components/ │ └── pages/ │ └── 500.astro
-```
-
-This page is used any time an error occurs in the dev server.
-
-The 500 page will receive an `error` query parameter which you can access with:
-
-```
----
-const error = Astro.request.url.searchParams.get('error');
----
-
-<strong>{error}</strong>
-```
-
-A default error page is included with Astro so you will get pretty error messages even without adding a custom 500 page.