Skip to content

Starter React app implemented in Typescript - Setup with Routing and Bootstrap

Notifications You must be signed in to change notification settings

peterlharding/react-typescript-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starter React Typescript Project

Setting Up

Added in routing and bootstrap.

Also included react-lorem-ipsum to flesh out some page content.

npm i -s react-router-dom
npm i -s react-bootstrap
npm i -s bootstrap
npm i -s react-lorem-ipsum

Add the following CSS import into the top level index.ts after adding bootstrap module.

import 'bootstrap/dist/css/bootstrap.min.css';

Adding Typing Information

Add these for typing info:

npm i --save-dev @types/react
npm i --save-dev @types/react-router-dom

react-router-bootstrap

Do I need this? I haven't added react-router-bootstrap module.

npm i --save-dev @types/react-router-bootstrap

Probably not. Looks like it is only for React Router v4 (or v3) -

https://www.npmjs.com/package/react-router-bootstrap

And this hasn't been updated in two years.

Other Notes

Investigate:

  • react-bootstrap-submenu

About

Starter React app implemented in Typescript - Setup with Routing and Bootstrap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published