This project is a template of create-react-app. You can use this by running the following command.
- Enable the
legacy-peer-deps
option globally for installing the dependencies.
npm config set legacy-peer-deps true
- Create the React project with the
DeKu
template.
npx create-react-app [YOUR_PROJECT_NAME] --template deku
- Enable the
legacy-peer-deps
option locally for installing the dependencies.
cd [YOUR_PROJECT_NAME]
npm config --location=project set legacy-peer-deps=true
- Disable the
legacy-peer-deps
option globally. (The default of this option isfalse
. See the details on the document)
npm config set legacy-peer-deps false
This project uses the followings:
- React UI library: MUI, Emotion
- Component driven development: Storybook
- Calling API: Axios, React Query
- State management: Recoil
- Routing: React Router
- i18n: react-i18next
If you want more details of the project, see the following document.
- DeKu template for create-react-app: README
You can add libraries or modify the project in the development
folder. You don't need to modify in the template
folder or template.json
file.
After contributing, just execute the following command.
node deploy.js
It will copy all contents to the template
folder and template.json
file for deployment.
If you use Lefthook
, it will be executed automatically when you commit the code.