File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11This 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
823npm 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+
1729Open [ http://localhost:3000 ] ( http://localhost:3000 ) with your browser to see the result.
1830
1931You can start editing the page by modifying ` app/page.tsx ` . The page auto-updates as you edit the file.
You can’t perform that action at this time.
0 commit comments