PhilAtLaracasts PhilAtLaracasts
4

Dynamically changing list elements

I want to bind the elements in a li list element to Vue. All the examples I see are just for generating lists with v-for. But I want to do the opposite (in my case the list...
Vue
4
32
mostafalaravel mostafalaravel
3

laravel vue router not working

Hey there , I have some troubles with the router , I cant see the content of any component. The only thing is just the menu but when I click nothing happened !:...
Vue
3
34
flashman flashman
0

CRUD with Datatables.NET Blade and VueJS

Hi, is there some example of CRUD with Blade view, datatable and VUEJS form opened from blade view in modal. Example: I have view users/index.blade.php...
Vue
0
9
plasmic plasmic
0

Using named slots through a wrapper component

I have a situation where I have a card-like component that I'm calling a portlet. Each portlet can have a header, and inside that header is a slot called...
Vue
0
10
princeoo7 princeoo7
6

No redirection on 401 with following code.

Hello Every one. below is my code for laravel-vue spa where the spa should redirect a user if the token is expired and gives 401 error. but this is not working. plea...
Vue
6
32
kife-design kife-design
1

Laravel homestead and nuxt

Hey guys, I created an app in vuejs with laravel as a backend. I would like to convert the app to use Nuxtjs to take advantage of server side rendering. I'm using ho...
Vue
1
10
beracah.kings beracah.kings
6

Passing Values to Vue js Form

How to pass laravel data generated at the loading of the page into a vue js form like auth id...
Vue
6
50
murilo murilo
1

detect outside event does not work inside VUE Modal

Hello guys , I did a drop down compoennt that open , if click inside and close if click outside . I used this function to detect INSIDE / OUTSITE -...
Vue
1
29
stevenh stevenh
0

Redirect to the URL contained in the 200 response from the controller

Hi folks, I have created a new registration component Vue to work with the RegisterController that comes out of the box when you run artisan make:auth. Regist...
Vue
0
19
mostafalaravel mostafalaravel
6

why using : let self = this?

Hello, I would like to know why in Vue js it's recommended to use let self = this; instead of "this." ? thanks...
Vue
6
95
gabrielbuzzi gabrielbuzzi
9

[Vue 2] Reload component when same route is requested

The Scenario My application in a SPA, and i'm building using Vue 2 and Vue Router 2. I have a page that show some data about the user, the route is...
Vue
9
2477
Utchin Utchin
1

Laravel Echo undefinded channel

Using Spark and Pusher, I cant seem to get vue to listen for events using this code (which works on a blank laravel install. window.Echo.channel...
Vue
1
19
ziben69 ziben69
3

Vue.js | Get data from CKeditor and saving it to the database

Hello guys, Im looking for help with getting data from CKEditor. I had 2 versions, and only 1 works (clear Laravel): Controller (function store):...
Vue
3
51
zxtanzxzx zxtanzxzx
1

Form validation with vue component and vee-validate

How to make it so vue component in a form tag trigger vee-validate for validation when i click submit. only validation in the blade triggers and error message is sho...
Vue
1
31
Utchin Utchin
1

Installing Vue Datatables unable to find component

I am struggling to install https://docs.laravel-...
Vue
1
24
mostafalaravel mostafalaravel
1

Is there a way to see if my vue component is without unused variables ?

Hello , I would like to know if there is any tool to verify my vue component code to see for example if there is non used variables or methods .... on my code ....
Vue
1
23
msassa msassa
1

Create a distributable widget with VueJS in Laravel backend

I have this backend made in Laravel, and I need through an api endpoint delivery some slider widget. Something like when I call...
Vue
1
56
3Descape 3Descape
12

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

I did a npm update and composer update today and now I get the error everywhere where I use vue : [Vue warn]: Failed to mount component: tem...
Vue
12
1041
jtrunecek jtrunecek
2

Avatar Customization Component

Hello community! I would like to show you VueJS avatar component, it's opensource and free to use for commercial and non-commercial use. You can take a look a...
Vue
2
48
princeoo7 princeoo7
2

requiresAuth as True not redirecting guest to login page and how to logout with jwt-auth properly.

i have the following code and for some reason it is not working. please help me out with it. //app.js require("./bootstrap"); import...
Vue
2
31
yoeriboven yoeriboven
11

Axios works fine without meta CSRF

Even without setting the CSRF field in a meta tag, Axios requests work just fine. I tested if CSRF is necessary by building a non-Vue form and it fails when I don't...
Vue
11
91
princeoo7 princeoo7
7

Whats Wrong with my route.js file and Dashboard.vue file ?

I was trying vue-router and end up with following code in routes,js //route.js export const routes = [ { path: "/", component: Dashboard } ];...
Vue
7
69
mostafalaravel mostafalaravel
1

TailwindCSS `@apply` cannot be used with `.table-collapse`

Hello , I try to make a css class based on tailwindCSS. here my CSS part : ... .participation-table{ @apply .w-auto .text-left .tab...
Vue
1
23
Boubou Boubou
0

How to add user roles with Nuxt?

Hello, I wonder if anyone has managed to create roles for the routes with Nuxt, if yes how please? I cannot find a single website detailing how to do this. Th...
Vue
0
12
packy packy
4

Vue login vs standard form

What are the downsides to using a Vue component with an Axios call to login? I have seen a few forum comments just hating on using Vue to do this and not just the "out...
Vue
4
72
itstrueimryan itstrueimryan
2

Configuring webpack to use @ for absolute paths

When I do standalone vue-cli apps I have access to the @ sign for absolute imports: import TestComponent from '@/components/TestComponent';...
Vue
2
26
skoobi skoobi
6

Vue Tabs open the correct tab on page load

Hi, Im a little confused (ok a bit more than a little) on how to use bulma tabs on vue. Ive got it all setup and all working by following the Laracast Vue 2.0 tutori...
Vue
6
405
Stockholm Stockholm
6

Please help newbie question, inline templates vs slots

Now I feel sooooo stupid. Trying to learn vue, please help me understand; Why can I do this … .html <my-i...
Vue
6
128
nanosolutions nanosolutions
0

Testing Vue Forms in Dusk - not working

Hello We have Laravel app that uses Vue as a frontend, we use Dusk to test screen and basic form in last few days the forms stopeed working and I pointed out to tha...
Vue
0
14
Ibzy Ibzy
1

Listen to events on the server

How can I change a child component based on a update on the server without reloading the page ?...
Vue
1
28
kvnkrft kvnkrft
1

Trying to filter results via route variable... Vue Instant Search

I have a route setup Route::get('/{category}', '[email protected]')->name('category'); and in my home.blade.php I'm trying to filter r...
Vue
1
39
ziben69 ziben69
2

Vue.js | ckeditor integrate with vue.js

Hello guys, I am trying to upload ckeditor to my project, but for 7 hours I try and it does not go away. I searched google, installed from 30 packages (npm), I did with tut...
Vue
2
46
asad98iftikhar asad98iftikhar
1

How to use a Dynamic global variable outside the Mapping in Vue.js

This is my Variable fromNode i want to console.log it outside the function in the same way const lines=this.scene.links.map((link)=>{...
Vue
1
24
speedydan speedydan
1

Vue and Laravel - ais-configure

I'm using Scout to create a search of some listings with Algolia. I've created a vue component, which has 2 props props: { category: {...
Vue
1
48
InToSSH InToSSH
3

Best practices: Vue.js -> Laravel AJAX API resources

Hi, I am currently trying to learn Vue.js and I would just like to ask you for your opinion / best practices / how do you do it, when I need to fetch some data from Laravel...
Vue
3
80
Create a New Discussion Button