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

Consolidated menu page

$
0
0

I’m a new Ionic user and recently started my first project using the Ionic Super Starter project. The starter defines the slide-out menu component and data in app.component.ts. So far that makes sense, yet there is also a MenuPage defined in the pages/menu folder. I like how the menu logic is consolidated here rather than in the primary app component setup. Unfortunately I can’t see that this menu isactually used anywhere.

Ideally I would like to consolidate all menu logic into one location so that I can inject components and utilize providers for more dynamic data. How can I use the example menu page instead of the hard-coded menu defines in app.component?


Viewing all articles
Browse latest Browse all 229340

Trending Articles



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