@dechains/cra-dapp
Create react app template with notification system, etherium wallet integration, MUI5 integration and other necessary packages required for base dApp development in REACTJS
Useage with create-react-app
[Use yarn mandatory]
yarn create react-app myapp --template @dechains/cra-dapp
OR use with cra-script-nomod
yarn create react-app myapp --template @dechains/cra-dapp --scripts-version cra-script-nomod
Adding .env and .env.development when using cra-script-nomod
Customize cra-template template.json
if using with cra-script-nomod
{
"package": {
"dependencies":{
...
},
"devDependencies":{
...
}
},
"env":{
"REACT_APP_API_URL" : "https://example.com/api"
},
"envDevelopment":{
"REACT_APP_DEVELOPMENT_API_URL" : "https://example.com/api"
},
}
[cra-script-nomod]
https://github.com/saqlain1020/cra-script-nomod
License
MIT