Skip to content

Commit

Permalink
gh pages config
Browse files Browse the repository at this point in the history
  • Loading branch information
elifnurdemir committed Jul 19, 2024
1 parent 8614e1e commit 3bf7420
Show file tree
Hide file tree
Showing 3 changed files with 165 additions and 1 deletion.
160 changes: 160 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "tutorial",
"version": "0.1.0",
"private": true,
"homepage": "https://arrivederciao.github.io/portfolio",
"dependencies": {
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
Expand All @@ -19,6 +20,8 @@
"start": "react-scripts start",
"start-json-server": "json-server --watch src/db.json --port 3001",
"build": "react-scripts build",
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
Expand All @@ -41,6 +44,7 @@
]
},
"devDependencies": {
"gh-pages": "^6.1.1",
"json-server": "^1.0.0-alpha.22"
}
}
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import BlogInbox from './components/pages/BlogInbox';

function App() {
return (
<Router>
<Router basename={process.env.PUBLIC_URL}>
<Routes>
<Route path="/" element={<Home />} />
<Route path="/home" element={<Home />} />
Expand Down

0 comments on commit 3bf7420

Please sign in to comment.