Create-next-ts-redux-template1
- Create-next-ts-redux-template1
- Current status
- Current goal
- Comments (continuous) - sep 2022
- Installed dependencies + configurations
Template with Next (by Create next app), and typescript, and redux (modern redux with toolkit). Based on example : https://github.com/learnwithjason/lets-learn-redux-toolkit youtube tutorial
Modern redux with redux toolkit (that uses Immer)
Working
maybe add @types/express
Command used:
yarn create next-app --typescript
Next.js version: 12.3.1
- @reduxjs/toolkit
- react-redux
- react-dom
- express
Command:
yarn add @reduxjs/toolkit react-redux react-dom express
To not have to import React in every component:
"jsx": "react-jsx"
The --typescript
option installs:
- @types/node": "18.8.3"
- @types/react": "18.0.21",
- @types/react-dom
Css grid enabled ( bootstrap5.2_variables.scss )
Sass