A create-react-app template.
Installation:
npx create-react-app myapp --template context-mui-axios-hooks
⚠️ CAUTION: Please install the following separately -
npm i @mui/styles msal-react-tester --legacy-peer-deps
Usage:
-
After installation, go to
/src/index.js
and add yourclientId
andredirectUri
, and add your tenentId inauthority
. -
Go to
/src/services/AuthService.js
and add clientId inaccount
, and addpostLogoutRedirectUri
add redirect uri (default tohttp://localhost:3000
) -
Go to
/src/App.js
and modify the file to start your project. -
npm start
in your terminal to run your project.
Custom MUI Theme:
Go to /src/theme/theme.js
to add your custom MUI theme.
Add custom fonts:
- Go to
/src/assets/fonts
and add your custom fonts in.ttf
format. - Go to
/src/index.css
to import your custom fonts.