There are 2 ways to create Pinia stores: Options API and Composition API. I implemented only Options API, so Composition API also needs to be done.