Skip to content

Commit 6373ca7

Browse files
committed
modify frontend README comments
1 parent 0739fe5 commit 6373ca7

1 file changed

Lines changed: 21 additions & 9 deletions

File tree

frontend/README.md

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,31 @@
11
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
22

3-
## Getting Started
43

5-
First, run the development server:
4+
```bash install nvm
5+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
6+
export NVM_DIR="$HOME/.nvm"
7+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
8+
nvm --version
9+
```
10+
```bash install node.js LTS with nvm
11+
nvm install --lts
12+
nvm use --lts
13+
node -v # Node.js version, e.g., v20.x.x
14+
npm -v # npm version, e.g., 10.x.x
15+
```
16+
617

7-
```bash
18+
```bash Create a React app named 'frontend'
19+
npx create-react-app frontend
20+
cd frontend
21+
22+
# Start development server
823
npm run dev
9-
# or
10-
yarn dev
11-
# or
12-
pnpm dev
13-
# or
14-
bun dev
24+
npm run build
25+
npm run start
1526
```
1627

28+
1729
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
1830

1931
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

0 commit comments

Comments
 (0)