cra-template-context-mui-axios-hooks

1.0.9 • Public • Published

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 your clientId and redirectUri, and add your tenentId in authority.

  • Go to /src/services/AuthService.js and add clientId in account, and add postLogoutRedirectUri add redirect uri (default to http://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.

Package Sidebar

Install

npm i cra-template-context-mui-axios-hooks

Weekly Downloads

0

Version

1.0.9

License

MIT

Unpacked Size

8.06 MB

Total Files

69

Last publish

Collaborators

  • ajejey