Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229351

Application structure

$
0
0

The ionic generators are intended for small apps with just a few pages. If you’re using a larger app, the file structure in the official Angular Style Guide is better. You need to modify that style guide a bit, because lazy loading is different in Ionic. I put providers in a separate sub-feature module so they can be registered in app.module.ts,without affecting the parts of the feature module that I want to lazy load later.


Viewing all articles
Browse latest Browse all 229351

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>