Vue.js is a library for building interactive web interfaces. It creates data-driven user interfaces with a simple and flexible API.

learn more… | top users | synonyms

0
votes
1answer
8 views

VueJS bind model to dynamically inserted form element

I'm using VueJS with a form, and I'm having trouble with dynamically added input fields. The form starts with a single input field, where someone can enter a number, along the lines of: <input ...
0
votes
1answer
13 views

Using Vueify for components with the runtime-only build in Vue.js

I've been working on porting a vue.js component from vue 1.0 to Vue 2.0 using Vueify. In the Starter resources it states: When you use vue-loader or vueify to import *.vue files, their parts are ...
0
votes
1answer
15 views

v-for through an object in vue.js

I have a Teams object, which has a record of all teams and can also count and create them. I store all teams as an object, so I can write Teams.all["Team 1"] to select a team with a name of "Team 1". ...
1
vote
1answer
24 views

Dispatch mutations from service file

I have an ApiService() that I'm abstracting my API calls into. I'd like to dispatch('SET_BUSY') and dispatch('SET_NOT_BUSY') app-level mutations from within the service, but I get the following error: ...
0
votes
1answer
12 views

Emit an event when a specific piece of state changes in vuex store

I have a vuex store with the following state: state: { authed: false ,id: false } Inside a component I want to watch for changes to the authed state and send an AJAX call to the server. It ...
0
votes
1answer
14 views

Vue 2.0.1 and Electron - Visual Flash

I'm creating an app visually similar to Alfred to manage and search for my bookmarks. Its working well, but when I do a search and open a bookmark, I immediately hide the app and when I invoke it ...
0
votes
1answer
17 views

VUE filters through array

I recently started out with vuejs and the idea is to make a POS system with it. So currently I have an array of products and display them etc that all works just fine. Now my problem is when trying to ...
2
votes
1answer
41 views

Vue 2.x computed property is not updated when its dependencies are binded with inline data

I face the following problem trying to migrate from Vue 1.0.27 to Vue 2.0.1. EDIT added working JSFidle The situation: I have built a very simple app that takes a list of tasks (from the model) ...
0
votes
1answer
37 views

Multidimensional form array with Vuejs and Laravel 5

I am posting an array of form data using VueJs, this is what it looks like: hives: [{ hive_type_id: '', quantity: '', yard_id: this.yardId, action: 'added', added_from: '', ...
0
votes
0answers
20 views

How do i extend a component without altering the parent template? (VueJs)

Let's say I want to extend VueStrap Input component to create an amount input component that formats the value prop of 12345.67 (float) into 12'345.67 (string) offering a two way binding so that in ...
0
votes
2answers
40 views

Vue router - optional route groups

I have a question about vue-router. How could I accomplish a route / routes like this: example.com/blog/category/value/tags/value/page/value Category, tags and page should be optional. So if I ...
0
votes
0answers
38 views

Can't start iterate array of object [on hold]

I am fill array with Objects before iteration with next code: if(!App.$refs.userContent.LoadedBaseMapLayersContent.includes(response.data[0])) { App.$refs.userContent.LoadedBaseMapLayersContent....
0
votes
2answers
17 views

Vue JS focus next input on enter

I have 2 inputs and want switch focus from first to second when user press Enter. I tried mix jQuery with Vue becouse I can't find any function to focus on something in Vue documentation: <input v-...
1
vote
0answers
19 views

how to index a dynamic page on google that has no public link to it?

I came accorss a very big question, i'm currently making a web app. Here's an overview : Public pages : /home /login /post/:id (so each dynamic page must be public and indexed) Private pages /...
1
vote
0answers
15 views

How to bind vue click event with vue tables 2 (JSX)?

Using https://github.com/matfish2/vue-tables-2, with Vue version 2, I can't seem to bind the click event on JSX (on templates->edit): var tableColumns = ['name', 'stock', 'sku', 'price', 'created_at']...

15 30 50 per page