This is a fork of https://github.com/QzhouZ/Cordova-Framework7-React-Webpack/
Changes:
- React 0.13->0.14
-
- React DOM
##Project File
│ www static resource file for package cordova
├─data <----- test data related files
├─fonts <----- font files
├─img <----- Photos
├─build <js file ----- compiled
├─lib <----- not suitable third party libraries compiled
├─view <----- paging file
├─app.less <----- page style (less) file entry
├─index.html <start page
└─src source file
├─less <----- less library
├─lib <----- third-party libraries can be compiled
├─view <----- react page components
├─app.less <----- entrance css file
└─app.js <----- entry js file
Node、Cordova、NPM、Babel5、Webpack
npm install
npm run build
``npm start`
Open this url in your browser http://127.0.0.1:3000/www/index.html
npm run test
npm run android
compiling android project using cordovanpm run ios
compiling android project using cordova