- Notifications
You must be signed in to change notification settings - Fork6
📱 some samples of ionic usage
License
NotificationsYou must be signed in to change notification settings
johnnynode/ionic-samples
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
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
- 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,根据自己的需求改写
MIT
About
📱 some samples of ionic usage
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.