GithubHelp home page GithubHelp logo

davidgaldon / cordova-angular-angularmaterial-seed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mario-aleo/cordova-angular-angularmaterial-seed

0.0 2.0 0.0 4.9 MB

A seed to start a project using Cordova + AngularJS + Angular-Material (note: this isn't an Ionic Framework Seed)

JavaScript 19.64% HTML 32.54% CSS 47.82%

cordova-angular-angularmaterial-seed's Introduction

cordova-angular-angularMaterial-seed

A seed for projects using Cordova + AngularJS + Angular-Material (Note: this isn't an Ionic Framework Seed)

Just clone it to your computer, run the command cordova serve, and use it to initialize your projects.

  • The directory structure is based on this topic:

    https://scotch.io/tutorials/angularjs-best-practices-directory-structure

  • When looking for Plugins, you should look here:

    http://ngcordova.com/docs/plugins/

    But you can also use other plugins from standard cordova or anything(where) else.

  • There are places in the index.html to load your javascript files on the top of the file, please use it as a guide. (Since it's an app, the files should be load at the start, so the first paint will be complete)

  • Any time you need to use a cordova plugin, make sure to wrap it in a 'deviceready' event listener like so:

      document.addEventListener("deviceready", function () {
      //your plugin code here
    }, false);

    There's one example of this use in app.js

  • Here's a list of Angular-Material Icon and how to use them:

    https://klarsys.github.io/angular-material-icons/

  • The Angular-Material documentation is here:

    https://material.angularjs.org/latest/

  • Here's the documentation for Google's Material Design Style, take a little look and keep the styles in your mind:

    http://www.google.com/design/spec/material-design/introduction.html# Keep you main color search here: (This will save your life/time) http://www.google.com/design/spec/style/color.html#color-color-palette

  • If you want to debug on Google Chrome, use Brackets, Node Server or even ISS Express.

    Unfortunately, the cordova server isn't supporting the application, but I'm looking for a solution.

  • If you want to debug on an Android device, connect the device on your computer via usb and use:

    cordova run android --device (MS Windows requires specific drivers for your device)

    Also use Chrome's Developer Tools ( chrome://inspect/#devices )

  • This project is my favorite son, I'll always keep improving it, so anything you want to share with me or any questions you can ask me and/or open an issue, just make a good title so anyone can know what it's about.

  • Keep in mind that information and knowledge always get better when it's shared with anyone, feel free to use this seed, but still I'd be glad if you mention this repository on your code or repository or share it with your friends. Also, if you do something, I would be glad to receive a link showing your repository or work.

I'm pretty sure that:

That's all Folks!

cordova-angular-angularmaterial-seed's People

Contributors

carmona avatar mario-aleo avatar

Watchers

 avatar  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.