Store axios call in a variable

<template> <div id="app"> <h4> Your profit/loss in {{ coin }} is: {{ ( info.BTC.USD * amount ) - ( value * amount ) | currencydec...
Vue
2
11

Vuex Store (state undefined)

I have problem while setting up VueX Store My Store: import Vuex from 'vuex'; const store = new Vuex.Store({ state: { items: [], },...
Vue
1
9

vue dispatching multiple value to function not working

i'm passing multiple values thought dispatch function to a vuex action this.$store.dispatch('updateThemeSwitch', elemStatus, name); then i n...
Vue
0
11

Reactivity of Deep Properties

Hi ! Im struggling here yesterday, I can't manage deep properties that I want to change. It seems I can't change it with a normal way of putting value in an object. I alrea...
Vue
5
17

pass dateTime to Vue component (countdown timer)

Having a hard time grasping how to pass a dateTime 2018-11-27 17:56:47 into a vue component. Trying to create a countdown timer. Here's my blade.php:...
Vue
18
12

Anybody using Vuetify?

I know it's still relatively new, but it looks very powerful, and using Vue/Vuetify as a front end and then Laravel or Lumen as the back end seems like a good combination....
Vue
12
10

Event is emitted twice?

Hello everybody, I got the problem that an event is emitted twice somehow. I can not explain this behavior: This is my bootstrap.js:...
Vue
3
1

validation with vuelidate

Has anyone used vulidation package for validation ? I have problem validating emited array. Any help ?...
Vue
1
3

Image details not going through to controller

I'm trying to pass my images from vue to laravel. So on my page I have a laravel form with a vue image component. What is suppose to happen is I fill out the form and drag...
Vue
3
1

Nuxt(SSR) for frontend and adonisJs for backend/API only template

Hi everybody, I come from a vue + laravel background so I'd like to have a try at stack which would be Nuxt for the frontend + SSR and adonisjs for the backend as an API, a...
Vue
1
1

VUEX - Select proper page from pages array passed to component from vuex store

Im passing pages array to a vue component from vuex store? the pages array is returning a collection of page data, unfortunately i don't need all these data i only need to...
Vue
9
5

Can't change data after using axios

<div id="app"> <p>@{{question}}</p> <input type="text" v-model="question"> <div> <script> let app...
Vue
2
4

ES6 Import in Vue Components or Globally in App.js?

Out of curiosity, do you import what you use in each component, or do you import all libraries you use to your app.js to have it globally available?...
Vue
4
1

Access child initial data from parent component

i need something like: $vm.$options.data Is there any smart way to access child initial data from parent component? something like: $vm.$ch...
Vue
5
1

problem when executing a function

hi. i have problem this with: I want to execute a function. when the user stops typing I use vue, vutify and lodash. <template>...
Vue
5
2

Delay vue watcher until a property is set?

I need to wait for property to be set on created then watch. data() { return { data: null, } },...
Vue
1
1

How to get .env variable in Nova package

I have package that is located in vendor folder. Package in Nova Tool and there is component. How can I fetch .env file in that /vendor/package/component? It works only if...
Vue
0
3

Getting a image uploader to give the image name

Hi, I have a create page that has a form, but the image section I would like to use vue. I have the vue component slightly working except for get the image name to b...
Vue
0
1

How to reduce app.js?

I would love to know your tips on reducing app.js My current problem is that in development my app.js is about 9mb big. When minified it is still about 3.68mb big....
Vue
5
2

Vue select onchange prop to child component not working

I have two components. Component 1: <template> <div> <div class="form-group"> <label for="group">Category<...
Vue
3
1
Create a New Discussion Button
Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels