django-reactjs-boilerplate icon indicating copy to clipboard operation
django-reactjs-boilerplate copied to clipboard

updated package.json

Open bicepjai opened this issue 7 years ago • 5 comments
trafficstars

can someone provide updated package.json with new webpack?

bicepjai avatar Jul 10 '18 23:07 bicepjai

Me too, I tried this with reactjs version 16, it is not working. Specially in hotloading, please anyone know how to do it in reactjs 16?

bossajie avatar Jul 20 '18 11:07 bossajie

@bicepjai I see this repo as a guide to configure a integrate environment between Django and React. For me as a front-end developer the guide made easier creates my own boilerplate with a new version of some Node.js packages.

annielmenezes avatar Jul 20 '18 13:07 annielmenezes

@bicepjai try this. I used latest version of React, 16.4.1 and some are new versions also the react-hot-loader is now working. https://github.com/ajiejot/django-reactjs-boilerplate

bossajie avatar Jul 23 '18 05:07 bossajie

i used the package file, @ajiejot shared but getting webpack error error in loader node_modules\react-hot-loader\index.js didn't return a function.

ghost avatar Aug 09 '18 19:08 ghost

@gulEhsan make sure you are using below version 5 of npm, because version 16.4.1 of reactjs not working with higher version of NPM. Check it now, it is updated. Make sure you do the npm install.

bossajie avatar Aug 10 '18 00:08 bossajie