parent
189e2b6052
commit
e495e875ac
4 changed files with 41 additions and 1 deletions
|
|
@ -79,6 +79,12 @@ Then open Astro's local URL, usually:
|
|||
http://localhost:4321
|
||||
```
|
||||
|
||||
Run the build health check:
|
||||
|
||||
```bash
|
||||
npm run check
|
||||
```
|
||||
|
||||
For a production-style Astro preview, build first:
|
||||
|
||||
```bash
|
||||
|
|
@ -91,3 +97,10 @@ Then open:
|
|||
```text
|
||||
http://localhost:4321
|
||||
```
|
||||
|
||||
## Deployment
|
||||
|
||||
Astro emits a static site into `dist/`. Deployment should run `npm ci` and
|
||||
`npm run build`, then publish or serve the generated `dist/` directory. Use
|
||||
`npm run start` only for Astro-based preview jobs that need to serve the built
|
||||
output directly.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue