Coding task · Vue.js course · Module 11: Pinia

Practice: Using a Store in a Component

Connect a component to the central database like a station module to the main computer.

Task

Use storeToRefs to destructure the state and call an action from the template.