/cra-template-deku

Primary LanguageTypeScriptMIT LicenseMIT

DeKu template for create-react-app

This project is a template of create-react-app. You can use this by running the following command.

  1. Enable the legacy-peer-deps option globally for installing the dependencies.
npm config set legacy-peer-deps true
  1. Create the React project with the DeKu template.
npx create-react-app [YOUR_PROJECT_NAME] --template deku
  1. Enable the legacy-peer-deps option locally for installing the dependencies.
cd [YOUR_PROJECT_NAME]
npm config --location=project set legacy-peer-deps=true
  1. Disable the legacy-peer-deps option globally. (The default of this option is false. See the details on the document)
npm config set legacy-peer-deps false

Contribute

This project uses the followings:

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.