Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make more dynamic step00_helloworld #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions step00_helloworld/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@

[Check out the Next.js 13 Installation Docs](https://nextjs.org/docs/getting-started/installation)

1. **Create a new Folder**

1. **Open the Command Line (Terminal) and run this command:**


```bash
npx create-next-app .
npx create-next-app@latest
```

this will create a Next.Js project
Expand All @@ -25,7 +24,7 @@ Read the following React Documentation:
Note: Our file extension is not jsx but tsx because we are using
TypeScript

3. In the app/page.tsx file delete the previous React component and replace it with the following simple hello world component:
2. In the app/page.tsx file delete the previous React component and replace it with the following simple hello world component:

```jsx
export default function Home() {
Expand All @@ -37,13 +36,13 @@ export default function Home() {

We wrote a very simple hello world React component in the file. Note that it is a convention in Next.js that the html page in the director is called page.tsx

4. **Start the development Server:**
3. **Start the development Server:**

```bash
npm run dev
```

5. **Open [http://localhost:3000](http://localhost:3000) with your browser to see the results locally.**
4. **Open [http://localhost:3000](http://localhost:3000) with your browser to see the results locally.**

The page auto-updates as you edit the file.

Expand Down