Created
December 5, 2020 02:27
-
-
Save spiritbroski/372093163c05081d372dbf51e3016f2d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <template> | |
| <v-row justify="center" align="center" :class="['text-h1']">REDIRECTING...</v-row> | |
| </template> | |
| <script lang="ts"> | |
| import Cookies from 'js-cookie' | |
| import { Component, Vue } from 'nuxt-property-decorator' | |
| @Component | |
| export default class MyStore extends Vue { | |
| mounted(){ | |
| Cookies.set('token', this.$route.query.token) | |
| window.location.href="/" | |
| } | |
| } | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment