[Vuejs]-VueJs3 sending data from one component to another

2👍

username and password

Define it under store -> state.js. Then where you want it

Use it as "this.$store.state.username"

Leave a comment