-
-
Save uno-de-piera/3e6fc6d940c5f1f843e31d08dd68df00 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
mounted () { | |
this.$store.watch( | |
state => state.authModule.isLogged, //dato a ojear | |
isLogged => isLogged, //aquí podemos hacer lo que deseemos con ese dato | |
{ | |
deep: false // para trabajo con elementos anidados | |
} | |
) | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment