Skip to main content

All Questions

0 votes
1 answer
113 views

Toggle class and insert data vue js

I'm beginner Vue js, I want to try make follow and unfollow system with Laravel. I'm facing problem with v-for loop for getting each data insert and toggle follow and unfollow with icon class. this is ...
RK-Rohan's user avatar
  • 123
-1 votes
1 answer
46 views

Vue 3 Props is not working on child components after binding it correctly. It returns undefined in child component

I am new to Vue and Laravel. This is my parent element, I am getting items from the database which is working fine. Then bind it to the child component. <template> <div class="...
Tukei David's user avatar
0 votes
0 answers
192 views

How can I use Vue <Suspense> in Laravel?

I have tried so many ways to use Suspense component in laravel blade template and since components are accessed using lowercase with hyphens, for example LoginComponent.vue can be accessed using <...
Joseph Onipede's user avatar
3 votes
0 answers
2k views

How to export all vue components from folder with index.js?

I want to export all vue components from folder. But I face error with this code @components/index.js < code 1 import camelCase from "lodash/camelCase"; const requireModule = require....
Nay Lin Aung's user avatar
1 vote
1 answer
359 views

I am having a problem with v-if in a nested loop [vuejs]

My problem is I am trying to edit a role so I have two functions, one to bring back the role and its permissions and one to bring all permissions. I am trying to do a nested v-for loop to show all ...
Ahmed Wagdy's user avatar
0 votes
0 answers
401 views

Vue JS ERROR Component template should contain exactly one root element

While working on a VueJS component, you face the following error in your browser console (or in your JS linter output): Component template should contain exactly one root element. If you are using v-...
user avatar
1 vote
1 answer
264 views

My Vue component is not showing up in Laravel

My vue component is not showing up and I failed to see what's wrong here. I have no errors in my console and I use npm run hot My app.js require('./bootstrap'); window.Vue = require('vue').default; /...
Larson's user avatar
  • 13
0 votes
1 answer
1k views

Display a Div/Flash message on link click in VueJS

In my laravel/Vue application, I have the following component to copy a text to clipboard on link click <a @click="copyURL" ref="mylink"> <img class="...
Veenavi Anutthara's user avatar
0 votes
1 answer
319 views

Copy text to clipboard on anchor tag click in VueJS issue

In my laravel/Vue application, I have an option to copy the link to the clipboard. I have the following in my component. <a @click="copyURL" ref="mylink"> <img ...
Veenavi Anutthara's user avatar
-1 votes
2 answers
275 views

Copy link option in VueJS component not working

In my laravel/vue application, I'm having an option to copy a link when a user clicks on an icon. So far I have following in my component <a href="sample.site" class="text-dark"...
Veenavi Anutthara's user avatar
0 votes
1 answer
610 views

Computed value not display until I click component in Vue Devtools

I have problems with my computed value. If I add item to cart, the totalPrice will remain 0, until I click the component in Vue Devtools, it will display the value. However, the Item Count working ...
cdogol's user avatar
  • 155
0 votes
0 answers
108 views

'vue-stars' stars are not loading into the view

'vue-stars' was used to create a star rating system in my laravel 8 application. But stars are not loading into the view. <vue-stars name="demo" :active-color="#...
uditha.kanishka's user avatar
-3 votes
1 answer
937 views

Vue Components not updating after change in code [closed]

It works fine when I use if for the first time after that I need to restart the server to see changes in the component
Paras Rawat's user avatar
3 votes
1 answer
718 views

Laravel Nova override vue component resulting [Vue warn]: Error compiling template

I'd like to implement a user guide using this https://github.com/shipshapecode/vue-shepherd on my nova. I changed a file webpack.mix.js.dist to webpack.mix.js (inside nova directory). Then I did : npm ...
Lathif Jumatiawan's user avatar
0 votes
1 answer
1k views

Get and Display events on Vue.js Fullcalendar from MySQL

I want to retrieve my events from my MySQL DB, and send it to my Vue component to display the events on the FullCalendar component accordingly. Although It fills my event array as a full HTML doc. ...
Dewaldt van Rensburg's user avatar

15 30 50 per page
1
2 3 4 5
7