-
Update your
package.json
:- Upgrade your archetype app to 3.0.0+
"electrode-archetype-react-app": "3.0.3", "electrode-archetype-react-app-dev": "3.0.3"
- Add
xclap-cli
to your devDependency
npm install xclap-cli --save-dev
-
Update your script field:
Replacing all
gulp
intoclap
.
-
Rename
gulpfile.js
intoclap.js
, OR if you don't have, create a new file calledclap.js
and put below contents into the file:require("electrode-archetype-react-app")();
-
Run
npm install
and waiting for its finished. -
Run
clap dev|hot
or your own customed script to start the app.
Now you are all set!
For more detailed information according to xclap, please refer https://github.com/jchip/xclap