Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mhartington/pinchtozoom
https://github.com/mhartington/pinchtozoom
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mhartington/pinchtozoom
- Owner: mhartington
- Created: 2014-07-02T14:44:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-20T14:16:24.000Z (over 9 years ago)
- Last Synced: 2024-10-04T16:15:45.434Z (3 months ago)
- Language: JavaScript
- Size: 9.18 MB
- Stars: 12
- Watchers: 4
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Ionic App Base
=====================A starting project for Ionic that optionally supports
using custom SCSS.## Using this project
We recommend using the `ionic` utility to create new Ionic projects that are based on this project but use a ready-made starter template.
For example, to start a new Ionic project with the default tabs interface, make sure the `ionic` utility is installed:
```bash
$ sudo npm install -g ionic
```Then run:
```bash
$ sudo npm install -g ionic
$ ionic start myProject tabs
```More info on this can be found on the Ionic [Getting Started](http://ionicframework.com/getting-started) page.
## Installation
While we recommend using the `ionic` utility to create new Ionic projects, you can use this repo as a barebones starting point to your next Ionic app.
To use this project as is, first clone the repo from GitHub, then run:
```bash
$ cd ionic-app-base
$ sudo npm install -g cordova ionic gulp
$ npm install
$ gulp install
```## Using Sass (optional)
This project makes it easy to use Sass (the SCSS syntax) in your projects. This enables you to override styles from Ionic, and benefit from
Sass's great features.Just update the `./scss/ionic.app.scss` file, and run `gulp` or `gulp watch` to rebuild the CSS files for Ionic.
Note: if you choose to use the Sass method, make sure to remove the included `ionic.css` file in `index.html`, and then uncomment
the include to your `ionic.app.css` file which now contains all your Sass code and Ionic itself:```html
```
## Updating Ionic
To update to a new version of Ionic, open bower.json and change the version listed there.
For example, to update from version `1.0.0-beta.4` to `1.0.0-beta.5`, open bower.json and change this:
```
"ionic": "driftyco/ionic-bower#1.0.0-beta.4"
```To this:
```
"ionic": "driftyco/ionic-bower#1.0.0-beta.5"
```After saving the update to bower.json file, run `gulp install`.
Alternatively, install bower globally with `npm install -g bower` and run `bower install`.
#### Using the Nightly Builds of Ionic
If you feel daring and want use the bleeding edge 'Nightly' version of Ionic, change the version of Ionic in your bower.json to this:
```
"ionic": "driftyco/ionic-bower#master"
```Warning: the nightly version is not stable.
## Issues
Issues have been disabled on this repo, if you do find an issue or have a question consider posting it on the [Ionic Forum](http://forum.ionicframework.com/). Or else if there is truly an error, follow our guidelines for [submitting an issue](http://ionicframework.com/contribute/#issues) to the main Ionic repository. On the other hand, pull requests are welcome here!