successdav successdav
3

Assign value to data property from a method in vuejs

I have this code to generate google token in my methods and am calling this code when the user submits a form methods: { submitForm () {...
Vue
3
83
Kimmer Kimmer
6

Pass a variable from Blade to Vue component

I’m trying to pass over an item’s hashID from a Blade template to a Vue component. I’ve been searching high and low to get this to work but I keep getting the followi...
Vue
6
98
murilo murilo
2

Vuex , how make a betther code

Hello Guys , I wold like to know if has any way to re use codes , or expand a class inside VUEX . I know that in VUE we have mixins , but I dont know if that it is possible...
Vue
2
41
lemmon lemmon
1

Attempting to use href to append a slug to address bar

Hello, Following along with: "Learn Vue 2: Step by Step Practical Components Exorcise #3: Tabs" ie Episode 11 @ 13:00 We use a computed property called href that...
Vue
1
20
mecjos mecjos
3

How to run Bootstrapvue Toasts inside vuex Module

Hi. Actually I try to create simple tost message according to axios response.. my axios post request is in a vuex module.. I try following code but it doesnt't work.. when...
Vue
3
80
mostafalaravel mostafalaravel
4

How select first option by default

Hello, I try to make Daily selected but it's not working ! <select class="form-control" id="inputRepea...
Vue
4
63
Alidnet Alidnet
4

Vue Search Select with 16k + options

Hi, I'm looking for a way to have a select that I can search on but I have 16k options that are returned for Laravel back end via axios, I cant find an efficient way to do...
Vue
4
77
aligajani aligajani
4

How do you guys structure your applications?

I have two options: Have frontend and backend in original folder structure so one project. Separate frontend and backend. I have tried 2...
Vue
4
88
InaniELHoussain InaniELHoussain
10

Unexpected token : when using component in vue

I'm using Laravel with Vue js, but when I try to use Vue.compenent I get the Uncaught SyntaxError: Unexpected token : Vue.component('tasks', function(){ template: '#...
Vue
10
96
hjortur17 hjortur17
12

Vue v-for

Hi, is it possible to only get one instance from Array? For example I have an array that looks like this: [ 0: {id: 1, carMake: "Fólksbíll",...
Vue
12
146
Alexb0903 Alexb0903
0

Specific children update triggers parent method for all children instead

I am making an application in vue.js that do some heavy duty calculation of an excel document given by a user.I need to check the validity of a client based on some filter...
Vue
0
17
murilo murilo
0

best approach using VUEX Modules in Vue Cruds and not repeat codes

Hello Guys , I wold like to know if has any way to re use codes , or expand a class inside VUEX . I know that in VUE we have mixins , but I dont know if that it is possib...
Vue
0
21
mostafalaravel mostafalaravel
2

How to access method in child component ?

Hello , In child component <add-task ref="addNewTaskData"></add-task> component I have one method called : clearForm...
Vue
2
56
Laramola Laramola
7

Laravel + VueJs : When should I use a Blade or VueJs

Hello. I have a concepts problem. I'm starting with JS frameworks and I don't know when I should use blade views or JS views. For example: I have a rou...
Vue
7
95
kaygero kaygero
5

Laravel + Vue.js: [Vue warn]: Failed to mount component: template or render function not defined.

Hi, I am trying to use vue-router links to load my home and about.vue but I get this error: app.js:64725 [Vue warn]: Failed to mount component: template or r...
Vue
5
97
hjortur17 hjortur17
2

Vue not passing data forward

Hi, I'm trying to use VUE to submit a form after generating some data, but I'm having problem accessing that data on a site which the form redirect's too. But if I hard cod...
Vue
2
92
hakhsin hakhsin
2

Get parent direction

How can I get parent direction in vue? I can get it with javascripte like this: getComputedStyle(element.parentElement).direction....
Vue
2
59
Alexb0903 Alexb0903
0

Vue custom event update freezes the UI with simple number Update

Hi everyone, I have a pretty weird bug I Have a component that find all the possible client and emit the update (only a number ) to the parent . If i don't emit, the childr...
Vue
0
30
nathan95 nathan95
6

My Vuejs component are not rendering into the DOM only in production

I have a project using laravel 5.5 and vuejs 2.5.7, he is working perfectly on localhost. On production i have response 200 and no error into the consol but my vue componen...
Vue
6
60
Chron Chron
7

Redirect on success paypal transaction

Here is the snippet that deals with the transaction. paypal.Buttons({ createOrder: (data, actions) => { re...
Vue
7
143
psychosocial227 psychosocial227
2

Using multiple CSS file on Vue.

//This my main.js file import Vue from 'vue'; import VueRouter from 'vue-router'; Vue.use(VueRouter); // Router-view to mount import Purplex from './componen...
Vue
2
100
Chron Chron
2

fs dependency error

This dependency was not found: fs in ./node_modules/dotenv/lib/main.js, ./resources/js/bootstrap.js To install it, you can run: npm install --sav...
Vue
2
67
Dev0ps Dev0ps
1

After First Message broadcast show error this.messages.push is not a function

Error [Vue warn]: Error in v-on handler: "TypeError: this.messages.push is not a function" found in ---> <Chats> at resources/assets/js/...
Vue
1
54
stefan7 stefan7
5

Router link error

Hi, in app.js i defined: import CommentsIndex from './components/comments/CommentsIndex.vue'; import CommentsCreate from './components/comments/CommentsCreat...
Vue
5
51
Chron Chron
1

Pass data to mounted hook

I have paypal inside mounted hook, it needs a dynamic amount value that will be based on button. data() { return { totalPrice...
Vue
1
78
Silkroad Silkroad
3

Lavarel won't load in some countries

Hey guys! For some reason our Lavarel application won't load in some countries. Our users are able to see the Support widget at the bottom right but the website won't load...
Vue
3
106
PetroGromovo PetroGromovo
1

How to add custom fields to logged user to vue side?

Hello, In my Laravel 5.8 / vuejs 2.6 / vuex 3.1 I want to add custom fields to logged user based on personal data and methods defined in user Model I use next metho...
Vue
1
59
successdav successdav
2

GET INLINE JAVASCRIPT VALUE TO VUE COMPONENT

I have this javascript code generating google captcha token on my register.blade.php page and the component registered here on this same page. I am adding the javascript co...
Vue
2
77
Admiral11 Admiral11
2

POST AND UPDATE WITH SAME METHOD

How can i post and update the data vue form through laravel backend api addModule() { if (this.$refs.form.validate()) { this.dialog = false; const...
Vue
2
76
chrisgrim chrisgrim
2

Understanding const inside and outside of vue component

Hi, I am struggling to understand some of the Vue basics, I am learning JS after learning php. I am setting up server validation with vuelidate and running into an issue. I...
Vue
2
91
Mihail Mihail
1

vue laravel updating data

Dear Jeffrey, thanks for your job! I have problems with updating data, which has not only text, but and photos (files). Could you please explain how to make it using...
Vue
1
65
chrisgrim chrisgrim
3

Vue Vuelidate Server Side Error Responses

Hi All, I have been searching the web trying to find tutorials on how to return Laravels server-side errors through Vuelidate. I have Vuelidate errors working great for req...
Vue
3
91
chrisgrim chrisgrim
10

Axios Patch issue when updating model

Hi Guys, Im hoping to have a fresh pair of eyes look at this because I can't see what I am doing wrong. I am trying to update a laravel model and I can't seem to make it wo...
Vue
10
160
chrisgrim chrisgrim
5

Checking for google maps places json data using if statement

Hi, I am using google auto complete for my location entry form. I am able to get the data back from google but I am having an issue when I am trying to enter it into my dat...
Vue
5
89
hjortur17 hjortur17
6

Vue on submit

Hi, I need my form to do two things. First I need the form do submit to my server and get data back and then post to another site. Any ideas how to do that? I have t...
Vue
6
61
Create a New Discussion Button