Skip to content

Commit

Permalink
be clear about slug of GitHub repo
Browse files Browse the repository at this point in the history
  • Loading branch information
gregrickaby committed Jan 22, 2024
1 parent aaeaaab commit 4811feb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const nextConfig = {
output: "export",

/**
* Set base path. This is usually the slug of your repository.
* Set base path. This is the slug of your GitHub repository.
*
* @see https://nextjs.org/docs/app/api-reference/next-config-js/basePath
*/
Expand Down Expand Up @@ -68,7 +68,7 @@ Next, you will need to add the base path to images in `page.tsx` file. This is r

1. Open `app/page.tsx`
2. Find the `Image` components
3. Add `/nextjs-github-pages/` (or the name of your repo) to the `src` prop:
3. Add `/nextjs-github-pages/` (or the slug of your GitHub repository) to the `src` prop:

```tsx[class="line-numbers"]
<Image
Expand Down

0 comments on commit 4811feb

Please sign in to comment.