| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Install Node and npm first, then execute follow command to install create-react-app
npm install create-react-app -g
Creat a new react app by follow commad:
create-react-app multi-cropper-app
Then you will get a dir as follow:
├── node_modules
├── package.json
├── package-lock.json
├── public
│ ├── favicon.ico
│ ├── index.html
│ └── manifest.json
├── README.md
└── src
├── App.css
├── App.js
├── App.test.js
├── index.css
├── index.js
├── logo.svg
└── registerServiceWorker.js
Then use our index.js replace the index.js in src, copy our multi-cropper dir to src, run:
npm start
Either, you skip all the steps before and can run our build.sh to create the demo app
./build.sh cd ~/multi-react-cropper npm start
├── cropper.js
└── src
├── css
│ └── cropper.css
├── images
│ └── bg.png
└── js
├── change.js
├── cropper.js
├── defaults.js
├── events.js
├── handlers.js
├── methods.js
├── preview.js
├── render.js
├── template.js
└── utilities.js
| Back | FazBrowse Home | New Git URL |