Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

📱 some samples of ionic usage

License

NotificationsYou must be signed in to change notification settings

johnnynode/ionic-samples

Repository files navigation

🔥 克隆

  • $git clone -b ionic-v1 git@github.com:johnnynode/ionic-sample.git --depth 1

🔥 安装

  • $cd ionic-sample
  • $npm i 或 $yarn install
  • $bower install --force (manual operation not in scripts)

🔥 运行

  • $gulp server (摆脱了通过 $ionic serve 来构建的问题)

🔥 构建

  • $gulp build

🔥 构建后测试运行

  • $gulp build-server

关于samples

  • src 目录是源码目录
  • www 目录是构建后的输出目录
  • 去除了通过 $ionic serve 来调试的局限性
  • ⚠️ 不要直接打包, 一些数据是通过http的方式请求的,在手机上的请求,路径会出现问题,需要自己修改成自己的数据(比如通过service提供数据)再打包。
  • ⚠️ pdf 如果pdf长时间打不开,请翻墙,pdf预览地址是:https://mozilla.github.io/pdf.js/web/viewer.html , 可修改成你们自己的pdf路径, 只提供演示
  • ⚠️ 视频源地址是videogular官网上的一个视频demo地址:http://static.videogular.com/assets/videos/videogular.mp4
  • ⚠️ 音频源使用网上链接易失效,存放于本地audio文件夹下:src/audio/music.mp3
  • 关于跨域问题,详见 gulp-connect的 api, 在gulpfile中已写上了部分demo,根据自己的需求改写

PdfLoading

AudioPlay

VideoPlay

CategoryScrolling

CarouselScaleBanners

Splash

License

MIT

About

📱 some samples of ionic usage

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp