Open jewpaltz opened 4 years ago
Good Afternoon Professor,
import {mapState,mapMutations} from 'vuex' Purpose:(This is my Planning) Once the user is login I thought of planning to store the user email address in central repository using Vuex, so that in other modules if I want to know who logged into the system I can use that central variable to find out.
Professor at first I've tried different ways at that time I've imported that module and after some work I found below way of storing the data without importing the module I thought of deleting that one Professor but forgotten to delete it.
this.$store.state.user=this.email;
Thank you,
Thanks&Regards, Lakshmi G.
On Sun, May 17, 2020 at 1:34 PM Rabbi Moshe Plotkin < notifications@github.com> wrote:
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LakshmiGurram6621/Fitness-Tracker/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOLKGHRO5ZCK2V7TJ6DEVXLRSAN4BANCNFSM4NDPIWMA .
https://github.com/LakshmiGurram6621/Fitness-Tracker/blob/e2f556f28b88ea98a308cd78ee7e7f64a1cae183/client/src/views/Login.vue#L39