Click in order · Vue.js course · Module 11: Pinia
Using a Store in a Component
Arrange the elements to correctly use a store in a component
Items to click
- const { updateStatus } = store
- import { useMissionStore } from '@/stores/mission'
- const store = useMissionStore()
- const { name } = storeToRefs(store)
You can check the correct answer by solving this task in the CodeWorlds game.