Hi is there any way to insert data in two tables in one request laravel nova belongsTo relation What I am trying to achieve is that I have two models first is the user model & the second one is the student Model User model has email and password And student model has other profiling details of a student when
Tag: vue.js
How to correctly use Laravel and Vue?
Please am new in using Laravel + Vue. I have registered a component but it is failing to display content in my blade template. Please i need assistance on how to properly do that in Laravel and Vue? Code below layout.app welcome.blade.php app.js Content in my Articles.Vue Please i need assistance..Its not working for me. Answer Looks like everything is
Error compiling template: Component template requires a root element, rather than just text in vue.js with laravel
I am Learner in Vuejs with laravel, i created a fresh project in laravel, with vue.js frontend. but after run command php artisan serve, when i run project on webbrowser. output is blank. i checked …
How to pass boolean values from Blade to Vue Component Laravel 7?
I’m trying to implement IF condition with true/false or 1/0 in Vue Component. I go through some earlier asked questions but not able to get it. Please help me out. IF condition not gives true output …
Vue.js ignored when a blade is included in another blade
I have created a product card view in Laravel. the card has a simple “accordion” (‘Show Details’) – closed by default – that is managed by Vue.js as well as a Vue.js quantity counter that …
Event listener is listening but doesn’t get triggered from event
Hi I’m currently learning Vue.js with Laravel and tried to develop a teamchat. I used redis instead of pusher because of financial reasons and used this laravel echo server for the echo server. The …
How do I send an image to a PHP API using VueJS?
I am trying to send an object which contains an image using Vue to a PHP API but honestly I don’t know how, I have my form
How to assign value in VueJS with Laravel?
How do you assign laravel value like this {{ auth->()->user()->first_name }} on this vuejs textfield
POST 404 not found on submit Vue js and Laravel?
I’m new to Vue js. I’m trying to store data. I’m loading in welcome.blade.php:
Store array from vuejs into a SQL column json but store null
I created a form that will save data in my users column of my table pack. My form data is stored in my user variable. During my axios request, I push the data from the user variable into my users variable which is an empty array. The data stores well in my users variable which is an array. Then, I