Code Monkey home page Code Monkey logo

ionic-gulp-es6-starter-kit's Introduction

#Ionic Gulp boilerplate Ionic application boilerplate for Gulp and ES6

Ionic and Angular

##Features

  • ES6 instead of ES5
  • SCSS instead of CSS
  • Automatic compilation
  • Livereload
  • Development build with source maps
  • Automatic bower components injection
  • Automatic scripts and stylesheets injection

##Usage

##Installation process

For the first you need to install Node packages by running:

npm install

after that install bower components by running

bower install

Both bower and npm must be installed globally at your local machine.

You are ready to start the server.

###Running the App during Development This command automatically compiles ES6 to ES5, scss, injects bower components, generates source maps, starts livereload server and opens your app in the browser.

gulp serve

###Mobile app When your app is interesting enough to be tested on mobile device, create a build.

Don't forget to compile from sources:

gulp

And then we can create the build for iOS:

ionic build ios

and even test it, if you use OS X:

ionic emulate ios

More info about builds, including Android, can be found in Ionic tutorial.

One more interesting feature Ionic has: Ionic View. It's amazing thing and I recommend you to try it - pretty simple to use and saves tones of time for debug and testing on real devices. To start, just run:

ionic upload

##Directory layout

Source

angular-gulp-ionic-boilerplate
└── src
    ├── app                  # application folder
    │   ├── components       # components folder
    │   ├── locations        # locations folder
    │   ├── index.config.js  # config file
    │   ├── index.module.js  # main angular module
    │   ├── index.route.js   # ui router config
    │   ├── index.run.js     # file with run loop
    │   └── index.scss       # main scss file
    └── assets               # assets folder
        ├── images           # images folder
        ├── favicon.ico      # favicon
        └── index.html       # main page which will be rendered to a client

##Build pack

Ionic Angular Gulp Babel SCSS

ionic-gulp-es6-starter-kit's People

Contributors

maksimabramchuk avatar emersonmellado avatar arlowhite avatar dv336699 avatar

Watchers

James Cloos avatar Daniel Dihardja avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.