stable

Clone or download

Read-only

Demonstrate how to access Vuex state values in a Vue 2 component with the Composition API

To ease the usage and make it feels less weird we use vuex-composition-helpers [0]. In a scenario were you need to add new things to the store you should probably check if you cannot achieve it directly with the Composition API or use Pinia [1]. Part of request #25317 Demonstrate how to use Composition API in Vue 2 app [0] https://github.com/greenpress/vuex-composition-helpers [1] https://pinia.vuejs.org/ Change-Id: I7642985599f166a94e7af9a7676bca299559432a

Modified Files

Name
M plugins/testplan/package.json +1 −0 Go to diff View file
M plugins/testplan/pnpm-lock.yaml +6 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/ListOfCampaignsHeader.vue +24 −29 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/local-vue-for-test.ts +2 −0 Go to diff View file