example - add routing

This commit is contained in:
2020-01-27 19:57:00 +05:30
parent 7e351d67b5
commit 1df5364928
4 changed files with 394 additions and 15 deletions
+7 -2
View File
@@ -8,6 +8,7 @@
"prop-types": "^15.6.2",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-router-dom": "^5.1.2",
"ts-transformer-visualizer": "link:..",
"typescript": "^3.7.5"
},
@@ -17,12 +18,16 @@
"test": "react-scripts-ts test --env=jsdom"
},
"devDependencies": {
"@jpavon/react-scripts-ts": "^1.2.2"
"@jpavon/react-scripts-ts": "^1.2.2",
"@types/react-router-dom": "^5.1.3"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
],
"resolutions": {
"@types/react": "^16.4.1"
}
}