You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 8, 2020. It is now read-only.
> **Advanced workflows for building rock-solid Ionic apps**: develop, prototype, test, build and deliver high quality apps with Yeoman, Gulp, Bower, Angular, Cordova and of course Ionic. All in one sexy generator.
26
27
27
-
<palign="center">
28
+
**[Read more ... ](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/intro/why_you_need_it.md)**
**[Read more ...](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/intro/whats_in_the_box.md)**
61
77
62
-
## Introduction
63
-
- More on: [Why you need it](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/intro/why_you_need_it.md)
64
-
- More on: [What's in the box](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/intro/whats_in_the_box.md)
78
+
### What's new
79
+
1.9.0
80
+
-**Livereload** for the device! Wohoo! See [how it's done](https://github.com/mwaylabs/generator-m-ionic/blob/master/docs/guides/development_intro.md#run-on-device-or-emulator-with-livereload).
81
+
-**Testing workflow** improvements
82
+
-**Precommit hooks** and others in a new [Husky Guide](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/testing_workflow.md)
83
+
-**gulp protractor** now returns, allowing it to be used with husky, travis, jenkins, ...
84
+
-**Questions** the generator asks are documented and explained in the [Questions](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/questions.md) document
85
+
-[read more ...](https://github.com/mwaylabs/generator-m-ionic/releases/tag/1.9.0)
65
86
66
87
## Quick Start
67
88
-[Quick Start](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/intro/quick_start.md) for the experienced developer.
68
89
-[Try the demo](https://github.com/mwaylabs/generator-m-ionic-demo). Get a quick impression by cloning the sample project generated with the latest version of Generator-M-Ionic.
69
90
70
-
## Get started
71
-
-[Installation and Prerequisites](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/start/installation_prerequisites.md)
-[Sub-generators](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/sub_generators.md) for adding new components.
80
-
-[Generator Update](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/generator_update.md) (experimental) can help you update to a new generator version.
81
-
82
-
**App Development**
83
-
-[Developing on Windows](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/windows.md), what you need to know.
84
101
-[Git integration](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/git_integration.md), see how it's done.
85
-
-[SASS integration](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/sass_integration.md) in our module concept.
86
-
-[Bower Component Usage](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/bower_component_usage.md) in our module concept.
87
-
-[CORS & Proxying](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/cors_proxy.md), how to cope with CORS issues.
88
-
-[Gulp defaults](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/gulp_defaults.md), spare power users some tedious typing on the command line.
102
+
-[Sass integration](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/sass_integration.md) in our module concept.
103
+
-[Bower component usage](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/bower_component_usage.md) in our module concept.
104
+
-[Ionic style source](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/ionic_style_source.md), change it from CSS to Sass or vice versa.
89
105
90
-
**Quality**
106
+
##### Quality
91
107
-[ESLint](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/eslint.md) code style checks and setting up your IDE/Editor.
92
-
-[Testing](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/testing.md) with our testing workflows.
108
+
-[Testing](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/testing.md) with our testing setup.
109
+
-[Husky hooks](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/testing_workflow.md), automatically run linting and tests before you commit.
93
110
94
-
**Continuous Integration and Delivery**
111
+
##### Advanced
112
+
-[CORS & Proxying](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/cors_proxy.md), how to cope with CORS issues.
95
113
-[App Icons and splash screens](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/icons_splash_screens.md), a simple setup or different sets for different builds - all is possible.
96
114
-[Use Environments](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/environments.md) manage different API Endpoints and much more with just a single parameter.
115
+
-[Gulp defaults](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/gulp_defaults.md), spare yourself some tedious typing on the command line.
116
+
-[Generator Update (experimental)](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/generator_update.md) can help you update to a new generator version.
117
+
118
+
119
+
##### Building & Continuous Integration
97
120
-[Build Vars](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/build_vars.md), inject vars into your app at build time.
98
121
-[Programmatically change the `config.xml`](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/guides/programmatically_change_configxml.md), an essential part for a successful continuous integration setup. Add environments and build vars for a full blown continuous integration use case!
99
122
100
-
**Ecosystems**
123
+
##### Ecosystems
101
124
-[Ionic Platform](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/ecosystems/ionic_platform.md) (beta) - A cloud platform for managing and scaling cross-platform mobile apps
102
125
-[Appmobi](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/ecosystems/appmobi.md) - Secure Mobile Development Platform
103
126
-[ApiOmat](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/ecosystems/apiomat.md) (beta) - Enterprise Backend as a Service
Copy file name to clipboardExpand all lines: docs/contribute/faq.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
## Why don't you support x?
9
9
We're living in times of rapid developments and technology life-cycles. We've come to realize that in times like this if you want to be productive and perform professionally, it's important to focus on the basics, get these right and not get lost in the latest fancy tech.
10
10
11
-
However we also do realize that individual developers and individual projects have individual requirements. So instead of trying to integrate everything ourselves, we highly encourage you to provide [recipes](../../README.md#recipes) on how to integrate your desired technology to share with other developers.
11
+
However we also do realize that individual developers and individual projects have individual requirements. So instead of trying to integrate everything ourselves, we highly encourage you to provide [Guides](../../README.md#guides) on how to integrate your desired technology to share with other developers.
12
12
13
13
That way we stay open to new technologies and ideas without sacrificing stability and valuable time by maintaining a gazillion of features. Read more in our [Mission Statement](./mission_statement.md).
Copy file name to clipboardExpand all lines: docs/contribute/issue_guide.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ Although we do a lot of testing on our core features, we depend on the community
3
3
4
4
## What's your need?
5
5
If you want to open an issue your need will fall into one of those three categories:
6
-
- You have an **idea, how things could be better** and possibly want to **contribute code**? - Head over to our [Contribution Guide](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/contribute/contribution_guide.md).
6
+
- You have an **idea, how things could be better** and possibly want to **contribute code**? - Head over to our [Contribution Guide](./contribution_guide.md).
7
7
- You have an **issue with one of the features** and it doesn't work the way you thought it would? - Keep reading this document!
8
8
- Something completely different? - [Open an issue](https://github.com/mwaylabs/generator-m-ionic/issues/new) and let's get talking.
@@ -31,16 +31,16 @@ And **that's it!** The [Appmobi Cordova Plugin](https://github.com/appMobiGithub
31
31
32
32
When you integrate Appmobi during project generation or using the sub-generator [generator-appmobi](https://github.com/mwaylabs/generator-appmobi) is called to setup the plugin and performs steps equivalent to running:
For more information on how to run Generator-M-Ionic's Cordova CLI wrapper consult the generator's [Development Introduction](https://github.com/mwaylabs/generator-m-ionic/tree/master/docs/start/development_intro.md).
41
+
For more information on how to run Generator-M-Ionic's Cordova CLI wrapper consult the generator's [Development Introduction](../guides/development_intro.md).
42
42
## Remove
43
43
To remove Appmobi integration simply remove the plugin:
Copy file name to clipboardExpand all lines: docs/guides/bower_component_usage.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,14 @@
1
-
# Bower Component Usage
1
+
# Bower component usage
2
2
> Find out how we use some of our recommended bower components
3
3
4
4
## localForage
5
5
We recommend using [mozilla/localForage](https://github.com/mozilla/localForage) as a persistence layer for your Ionic apps. There is a separate bower component called [angular-localForage](https://github.com/ocombe/angular-localForage) which provides localForage as an angular service `$localForage` which can be obtained using angular' dependency injection. However we recently started using plain localForage, since it already has a great API that doesn't need any wrapping.
6
6
7
-
When you select `localforage` during the generation of your project, the generator will create your `app/.eslintrc` file accordingly and add `localforage` as an available global variable:
7
+
When you want to install `localforage` after you've set up your project, run:
8
+
```sh
9
+
bower install angular-translate --save
10
+
```
11
+
To tell ESLint that `localforage` is a safe global modify your `app/.eslintrc` file accordingly and add `localforage` as an available global variable. If you choose `localforage` during project setup, this will be done for you.
8
12
9
13
```json
10
14
"globals": {
@@ -13,13 +17,17 @@ When you select `localforage` during the generation of your project, the generat
13
17
"localforage": true
14
18
}
15
19
```
16
-
Since localForage already has an [ES6 Promises API](http://mozilla.github.io/localForage/):
20
+
`gulp watch` then notices the `localforage` bower package and injects the source file into your `index.html`:
You can simply use it by transforming it into an [angular 1.x promise](https://docs.angularjs.org/api/ng/service/$q) using `$q.when()` and use it in the angular context.
30
+
You can simply use it inside angular by transforming it into an [angular 1.x promise](https://docs.angularjs.org/api/ng/service/$q) using `$q.when()`.
0 commit comments