Questions tagged as 'vue.js'

1
answer

My project Laravel does not go up on the server

I'm following the following online course on youtube: 1 - CRUD in LARAVEL & VUEjs - Webpack, Laravel Mix, NPM, Axios | Rimorsoft Online When I go up the server with the command yarn run dev it gives a success message as you ca...
asked by 05.10.2017 / 12:37
1
answer

How does v-if work internally?

From what I saw, using v-if you can show and hide an element through a condition, but it does not work as a toggle Jquery, strong> v-if ends up removing the element and is able to return the same element depending on the condition. I ima...
asked by 30.08.2017 / 02:56
1
answer

VueJS: how to create a condition from one v-for to another

My problem is as follows, I have two separate checkboxes, where the list of the first box is loaded through a json . And I need to load the second checkbox depending on the value selected in the first box, with the contents of the two b...
asked by 30.08.2017 / 19:25
2
answers

Change view / component but not URL

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...
asked by 03.11.2017 / 19:53
1
answer

Restrict access to routes if not logged Vuejs

I am developing a Dashboard and I have doubts about how to forbid access to rotas if they are not logados , so I thought of some solutions that would use localStorage , but none is a right solution . What would be th...
asked by 02.10.2017 / 16:10
2
answers

How to use Jquery with Vue.js?

During the implementation of Vue.js with sematic-ui, I have the following Jquery to open the modal: $('.ui.modal').modal('show'); How to do this integration in Vue?     
asked by 07.07.2016 / 21:04
1
answer

Starting with Vue.js with jQuery experience

I have experience with JavaScript and jQuery and after a few years I have decided to leave my comfort zone and know new horizons. I took a quick tour of the Angular until I got to Vue.js. Is there a question I would like to clarify with frien...
asked by 24.12.2016 / 13:49
2
answers

Push () does not work in VueJS?

I need to push () on the% void of VueJS and have it add another object to the array of objects it has there. But when I click the button I programmed to do this push () it just does not. Follow the code below: atualizar () { axios({...
asked by 24.08.2017 / 15:06
1
answer

Authentication jwt with vuejs

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...
asked by 14.03.2018 / 18:39
1
answer

Problem with vue-cli

Good afternoon, I made the global installation of the vue-cli npm install -g vue-cli When you try to start a project with the vue init webpack my-project the following error is displayed vue-cli · tunneling socket could not be establishe...
asked by 31.08.2016 / 20:03