diff options
author | 2021-07-14 13:41:51 -0400 | |
---|---|---|
committer | 2021-07-14 13:41:51 -0400 | |
commit | d40edb0b673f380c9eb9c07add3e0cd2371d9623 (patch) | |
tree | 0ec0d3487ac15cb609402f2f4f7e9c6fd5a6227b /docs/index.md | |
parent | d07f3d4186ee0ffe5acb74ebc76c15a5611268fa (diff) | |
download | astro-d40edb0b673f380c9eb9c07add3e0cd2371d9623.tar.gz astro-d40edb0b673f380c9eb9c07add3e0cd2371d9623.tar.zst astro-d40edb0b673f380c9eb9c07add3e0cd2371d9623.zip |
Docs sync (#680)
* test ignoring examples from workspace
* docs sync
Diffstat (limited to 'docs/index.md')
-rw-r--r-- | docs/index.md | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/docs/index.md b/docs/index.md deleted file mode 100644 index 94b674990..000000000 --- a/docs/index.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -layout: ~/layouts/Main.astro -title: Start Here ---- - -<img src="https://github.com/snowpackjs/astro/blob/main/assets/social/banner.png?raw=true" alt="Astro" width="100%" height="auto" > - -## What is Astro? - -**Astro** is a _fresh but familiar_ approach to building websites. Astro combines decades of proven performance best practices with the DX improvements of the component-oriented era. - -With Astro, you can use your favorite JavaScript framework and automatically ship the bare-minimum amount of JavaScript—by default, it's none at all! - -## Project Status - -⚠️ **Astro is still an early beta, missing features and bugs are to be expected!** If you can stomach it, then Astro-built sites are production ready and several production websites built with Astro already exist in the wild. We will update this note once we get closer to a stable, v1.0 release. - -## 🔧 Quick Start - -> **Important**: Astro is built with [ESM modules](https://nodejs.org/api/esm.html) which are not supported in older version of Node.js. The minimum supported version is **14.16.1**. - -```bash -# create your project -mkdir new-project-directory -cd new-project-directory -npm init astro - -# install your dependencies -npm install - -# start the dev server and open your browser -npm start -``` - -### 🚀 Build & Deployment - -The default Astro project has the following `scripts` in the `/package.json` file: - -```json -{ - "scripts": { - "start": "astro dev", - "build": "astro build" - } -} -``` - -For local development, run: - -``` -npm run start -``` - -To build for production, run the following command: - -``` -npm run build -``` - -To deploy your Astro site to production, upload the contents of `/dist` to your favorite static site host. |