mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
[ci] yarn format
This commit is contained in:
parent
e3d73149f7
commit
365f3bd230
3 changed files with 6 additions and 7 deletions
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
layout: ~/layouts/Main.astro
|
layout: ~/layouts/Main.astro
|
||||||
title: Getting Started
|
title: Getting Started
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Astro is a modern static site builder. Learn what Astro is all about from [our homepage](https://astro.build/) or [our release post](https://astro.build/blog/introducing-astro). This page is an overview of the Astro documentation and all related resources.
|
Astro is a modern static site builder. Learn what Astro is all about from [our homepage](https://astro.build/) or [our release post](https://astro.build/blog/introducing-astro). This page is an overview of the Astro documentation and all related resources.
|
||||||
|
|
|
@ -25,7 +25,7 @@ npm init astro
|
||||||
yarn create astro
|
yarn create astro
|
||||||
```
|
```
|
||||||
|
|
||||||
[`create-astro`](https://github.com/snowpackjs/astro/tree/main/packages/create-astro) wizard lets you choose from a set of [starter templates](/examples) or alternatively, you could import your own Astro project directly from Github.
|
[`create-astro`](https://github.com/snowpackjs/astro/tree/main/packages/create-astro) wizard lets you choose from a set of [starter templates](/examples) or alternatively, you could import your own Astro project directly from Github.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Note: Replace "my-astro-project" with the name of your project.
|
# Note: Replace "my-astro-project" with the name of your project.
|
||||||
|
@ -47,11 +47,12 @@ npm init astro my-astro-project -- --template [GITHUB_USER]/[REPO_NAME]/path/to/
|
||||||
|
|
||||||
After `create-astro` scaffolds out your project, you would need to install the projects dependencies. To do this, enter:
|
After `create-astro` scaffolds out your project, you would need to install the projects dependencies. To do this, enter:
|
||||||
|
|
||||||
``` bash
|
```bash
|
||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
You can now [Start](#start-astro) your Astro project. Once you have completed assembling your Astro project you can then [Build](#build-astro) your project. Astro would then package up your application and have the static files ready for you to [Deploy](/guides/deploy) to your favourite hosting provider
|
You can now [Start](#start-astro) your Astro project. Once you have completed assembling your Astro project you can then [Build](#build-astro) your project. Astro would then package up your application and have the static files ready for you to [Deploy](/guides/deploy) to your favourite hosting provider
|
||||||
|
|
||||||
## Manual Install
|
## Manual Install
|
||||||
|
|
||||||
You can also setup Astro without the aide of the `create-astro` wizard, below are the few extra steps that are required to get Astro going.
|
You can also setup Astro without the aide of the `create-astro` wizard, below are the few extra steps that are required to get Astro going.
|
||||||
|
@ -79,7 +80,6 @@ Astro is designed to work with the entirety of the npm package ecosystem. This i
|
||||||
|
|
||||||
Following the instructions above, you should have a directory with a single `package.json` file inside of it. You can now setup Astro inside your project.
|
Following the instructions above, you should have a directory with a single `package.json` file inside of it. You can now setup Astro inside your project.
|
||||||
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install astro
|
npm install astro
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue