Skip to content

Commit 2ae7e8a

Browse files
committed
published to github-pages
1 parent 9c291c4 commit 2ae7e8a

File tree

3 files changed

+180
-2
lines changed

3 files changed

+180
-2
lines changed

package-lock.json

Lines changed: 172 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "awesome-landing-page",
33
"version": "0.1.0",
44
"private": true,
5+
"homepage": ".",
56
"dependencies": {
67
"@testing-library/jest-dom": "^4.2.4",
78
"@testing-library/react": "^9.3.2",
@@ -18,7 +19,9 @@
1819
"start": "react-scripts start",
1920
"build": "react-scripts build",
2021
"test": "react-scripts test",
21-
"eject": "react-scripts eject"
22+
"eject": "react-scripts eject",
23+
"predeploy": "npm run build",
24+
"deploy": "gh-pages -d build"
2225
},
2326
"eslintConfig": {
2427
"extends": "react-app"
@@ -34,5 +37,8 @@
3437
"last 1 firefox version",
3538
"last 1 safari version"
3639
]
40+
},
41+
"devDependencies": {
42+
"gh-pages": "^3.1.0"
3743
}
3844
}

src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import './App.css';
3-
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
3+
import { HashRouter as Router, Route, Switch } from 'react-router-dom';
44
import Home from './pages';
55
import SigninPage from './pages/signin';
66

0 commit comments

Comments
 (0)