Skip to content

Commit fc4698e

Browse files
committed
Add npm deploy & update README
1 parent 3b4ba3f commit fc4698e

File tree

3 files changed

+276
-11
lines changed

3 files changed

+276
-11
lines changed

README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
1-
# Astro + React Example
1+
# DRC-Static
22

3-
```sh
4-
npm create astro@latest -- --template framework-react
5-
```
3+
This is an alternate codebase for the bulk of DRC Portal static content where the content can be mostly specified in markdown and independently rendered.
64

7-
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/framework-react)
8-
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/framework-react)
9-
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/framework-react/devcontainer.json)
5+
## Develop
6+
```bash
7+
npm run dev
8+
```
109

11-
This example showcases Astro working with [React](https://react.dev).
10+
## Build
11+
```bash
12+
npm run build
13+
```
1214

13-
Write your React components as `.jsx` or `.tsx` files in your project.
15+
## Publish
16+
```bash
17+
npm run deploy
18+
```

0 commit comments

Comments
 (0)