Installing the packages for our project
We must install some dependencies that are needed in the project, but they aren't installed yet. We can use Axios to make HTTP requests to get the exchange rate. The
uuid module lets us generate unique IDs for our history entries. Vuex doesn't come with the Ionic project, so we have to install that. We must also install the
vuex-persistedstate module so that we can save Vuex state data to local storage.
To install these packages, run the following command:
npm install axios uuid vuex@next vuex-persistedstate
The next version of Vuex is the 4.x version, which is compatible with Vue 3.