Introducing Ionic Vue
Ionic Vue is a mobile app framework that lets us build apps with TypeScript and Vue. It also has versions based on React and Angular. It comes with many components that we can add to our app, just like any other UI framework. They include common things such as inputs, menus, icons, lists, and much more. A compiled Ionic app runs in a web view, so we can use web technologies such as local storage, geolocation, and other browser APIs in our apps.
It also comes with built-in tools that let us build mobile apps automatically, without the need to set up everything from scratch ourselves. Ionic Vue creates components that use the Composition API by default, so we will use that to build Vue apps that are more modular and work better with TypeScript.
Understanding the Composition API
The Composition API works better with TypeScript because it does not reference the this
keyword, which has a dynamic structure. Instead, everything that is part of the Composition...