In this lesson, we will learn how to work with Pinia to manage the state and values used for the form, and how to send a request to the server using the Axios library when a user submits the form and reads the response from the server.
First, we need to install the Axios library for requests to API:
npm install axios --save
Then create a new file
src/bootstrap.js with the following content:...