https://github.com/cogoo/ionicstarter
ionic starter template w/browserify and modular component structure
https://github.com/cogoo/ionicstarter
Last synced: 2 months ago
JSON representation
ionic starter template w/browserify and modular component structure
- Host: GitHub
- URL: https://github.com/cogoo/ionicstarter
- Owner: cogoo
- Created: 2016-10-12T22:09:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-16T00:38:02.000Z (over 8 years ago)
- Last Synced: 2025-02-01T09:42:55.821Z (4 months ago)
- Language: JavaScript
- Size: 1.65 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ionicStarter
ionic starter template w/browserify and modular component structure-- also includes ionicPush
## Installation
```
npm install
```
Copy @ionic_bundle folder into node_modules> This is a necessary step as we require(@ionic_bundle).
> This exposes the ionic.bundle.js file as a node module.#### For Ionic Push
> Create an index.js file at ~/node_modulses/@ionic/
```
require('./cloud/dist/bundle/ionic.cloud');
module.exports = ionic.cloud;
```> This exposes the ionic.cloud.js file as node module.
You will also need to update all relevant ID's. (App ID & Sender ID)
Follow the tutorial at [Ionic Push Docs](http://docs.ionic.io/services/push/ "Ionic Push Docs")## Build steps
Uses Gulp for the build system with browserify.You will find a multitude of gulp tasks. You can simply run:
```
gulp build:dev or gulp build:prod (minified files)
```### SCSS structure
There is a gulp task that handles the import of all .scss files inside the /js folder. So you dont have to manually maintain in the main.scss file.