I'm working on a 404 page, it works fine, I have the following:
const router = new VueRouter({
routes: [
// ...
{
path: '*',
component: NotFound,
name: '404',
meta: {page_titl...
I'm a bit confused with authentication using jwt token, I have an application on vuejs + vue-router, I'm not wanting to use vuex until I learn how to do it without it (I do not like to use what I do not understand). So I have my API in NodeJS wh...
Is it possible to pass $route as a parameter to a function?
<v-btn color="info" v-on:click="getProximo('this.$route')">
Próximo
</v-btn>
I need to get a parameter that is in $route , but when I use this.$rout...
I'm making a simple transition in a webapp (using animate.css), where the user clicks a button and the current component exits the screen from the left and the other component comes from right to left. But when I return to my initial component,...
I have a problem in developing a project using Vue2, when I look for the context of the component, it does not return the "right" context, such as:
$ router
If you want to appear in the next context, the object I get when I search i...
I ended up crashing into a problem that I can not solve.
When I create a page detalhes , I call it using
this.$router.push({name: 'Detalhes'})
And I pass a parameter
this.$router.push({name: 'Detalhes', params: {dados...
In a PWA I am using VueJS and I am having problems with the back button of the smartphone, because when I use it PWA does what is most logical and returns to the previous screen.
But I just log into PWA and log in and when I use the back butt...
I'm learning vues and now I've come across a difficulty in hiding components when showing the other routes for example:
<template>
<div id="app">
<ion-icon name="help-circle-outline" class="help"></ion-icon>...
I have the following problem: When I include a local .js file in my project with VueJS I get the following error message.
Herearemystructureandcode:
I realized that if you include an external file, via CDN for example, it works perfect...
I'm trying to make a login system with vue and firebase, but I'm having trouble redirecting the user after authentication:
login: function () {
firebase.auth().signInWithEmailAndPassword(this.email, this.password).then(
(user) => {...