I am new to using Ionic, I have two questions that I ask myself:
Can Ionic be used to develop a web application without being compiled for iOS / Android?
If so, are there any recommendations for starting a new project?
How to make search engines index pages, because when we display the source code of the page, no HTML content is displayed in the body.
Yes, Ionic can be used to develop a progressive web app (PWA), you don’t need to create iOS or Android builds if you don’t want to. The app can be locally served during development with ionic serve and built for production with ionic build --prod. Then you just need to upload the www directory to your web server or service like Firebase, GitHub Pages, Netlify, etc.
Google and most of the main search engines can detect that your app is a Single Page App and render it with Javascript enabled on next crawls (https://developers.google.com/search/docs/guides/rendering). You can also use server-side rendering to deliver a pre-rendered version of the page with Angular Universal.
If you like the Angular route then something like material.angular.io. That’s gorgeous on IE11.
Or if you want something more generic Bootstrap is still awesome and isn’t tied to a particular framework.
I don’t really know stenciljs well enough to have a decent opinion I’m afraid.
I thought StencilJs was more of a wrapper of all the cool web components stuff as opposed to a set of controls, so you would have to still write / import what you need.
I thought server rendering and pre-rendering are different types of rendering, though both are seo friendly when it comes to single page apps. The SPA needs to have dynamic meta tags as well, not just URL. This can be done with angular router or it can be done in react as well. Since Ionic is using Angular Router, the SPA built on it can have dynamic meta tags as well.