Skip to content

Commit eae61f7

Browse files
authored
feat: update readme to add base config for vite config
1 parent 53bfe03 commit eae61f7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ The React Sample App can be easily deployed to [GitHub Pages](#github-pages), or
9191

9292
1. Open the `package.json` file and on line 5 replace the homepage value `""` with your GitHub repo name with a slash in front like this: `"/GITHUB_REPO_NAME"`.
9393

94+
1. Open the `vite.config.ts` file and add `base: "/GITHUB_REPO_NAME/"` in `defineConfig` helper.
95+
9496
1. Build your project:
9597

9698
`$ npm run build`

0 commit comments

Comments
 (0)