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

Practice: State and $patch

Manage the station's resource state like a control center operator.

Task

Create a store with ref() state, a consumeOxygen action and a patchResources action.