File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1414 </ head >
1515 < body >
1616 < div id ="app "> </ div >
17+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/react/15.3.2/react-with-addons.min.js " integrity ="sha256-4XsxPR8y4FliovAx7IOo7g/BZQQIRFHXy5Mo028pVOA= " crossorigin ="anonymous "> </ script >
18+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/react-router/2.8.1/ReactRouter.min.js " integrity ="sha256-Ve10xzUoKZr2up5joKtdW0RfY6R/6nWBO0x8AuOxp1s= " crossorigin ="anonymous "> </ script >
19+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/react/15.3.2/react-dom.min.js " integrity ="sha256-JIW8lNqN2EtqC6ggNZYnAdKMJXRQfkPMvdRt+b0/Jxc= " crossorigin ="anonymous "> </ script >
1720 < script async src ="dist/bundle.min.js "> </ script >
1821 < noscript >
1922 < p > Ops! JavaScript is disabled. You can't use this app.</ p >
Original file line number Diff line number Diff line change @@ -55,6 +55,11 @@ var resolve = {
5555} ;
5656
5757module . exports = {
58+ externals : {
59+ 'react' : 'React' ,
60+ 'react-router' : 'ReactRouter' ,
61+ 'react-dom' : 'ReactDOM'
62+ } ,
5863 entry : "./app/App.js" ,
5964 output : {
6065 path : 'public/dist/' ,
You can’t perform that action at this time.
0 commit comments