Trying to get into Ionic by building the sidebar of our community. The sidebar, on all devices / screen sizes, should open by clicking a hamburger icon on the top left and slide in from the left.
I have already defined some routes as described in the documentation. They point the view components, which in turn import the components that each view is composed of. So far, so simple.
Generally speaking, should <ion-router-outlet> be used to only display the content area? We were thinking about replacing the entire view for increased flexibility with layout changes, so the template of our App.vue currently looks like this:
Could this lead do a less “native app” like feeling, ie. performance issues? Since with each navigation link, the entire screen would be replaced so to speak, instead of just the content area.
Menu: must have a "content" element to listen for drag events on.
Researching this gives me some posts about angular projects and ion-router-outlet which I’m not using obviously.
Another confusing thing is that the docs state that there should be only one ion-content in each view, but in the same docs there are code examples with multiple ion-content elements.
EDIT: Sometimes, after doing some changes, above error message goes away and everything works. After saving the component file again, the error re-appears. So confusing. Is there a problem with my configuration or is this a bug with Ionic?