astro/examples/snowpack/README.md

38 lines
452 B
Markdown
Raw Permalink Normal View History

# Astro Demo
2021-05-03 18:26:10 +00:00
## Getting set up
2021-05-03 18:26:10 +00:00
1. Check out Astro at: https://github.com/snowpackjs/astro
2021-05-03 18:26:10 +00:00
1. Install and build Astro:
2021-05-03 18:26:10 +00:00
```shell
npm install
npm run build
```
2021-05-03 18:26:10 +00:00
2. Link Astro:
```shell
npm link
```
2. In this project link Astro and install other deps:
```shell
npm link astro
npm install
```
3. Run the Astro dev environment.
```shell
2021-08-19 05:07:34 +00:00
npm start
```
4. Build the website. (Not yet working.)
```shell
npm run build
2021-05-03 18:26:10 +00:00
```