ionic-samples
ionic-samples copied to clipboard
📱 some samples of ionic usage
ionic v1 tab app template demo
Branches
- Current branch is ionic-v1, switch to ionic-angular branch
Clone
- $
git clone -b ionic-v1 [email protected]:johnnynode/ionic-sample.git --depth 1
Install
- $
cd ionic-sample
- $
yarn install
or $npm i
or $cnpm i
- $
bower install --force
(manual operation not in npm scripts)
Run
- $
gulp server
Build
- $
gulp build
Build-server
- $
gulp build-server
Beware
- pdf url may need cross the wall if you are in China: https://mozilla.github.io/pdf.js/web/viewer.html
- video url is from videogular: http://static.videogular.com/assets/videos/videogular.mp4
- music url is a local file in
src/media/audio/music.mp3
- about cross domain, see more @ api of gulp-connect
PdfLoading
AudioPlay
VideoPlay
CategoryScrolling
CarouselScaleBanners
About Splash
More Samples
coming soon...
License
MIT