Questions tagged [laravel-vue]

89 questions
0
votes
1 answer

Redirecting to a laravel's web route from a vue component without using vue-router

I know this question seems to be redundant, but I can't find the solution anywhere. I'm using laravel-vujs mix and integrated the web routes and the api routes in the same project. Now, I'm trying to create a register api function called…
modi
  • 297
  • 2
  • 3
  • 15
0
votes
1 answer

Route keep asking for parameter even if not set to receive any

I'm new to laravel and I'm having trouble with one of my web routes... I grouped some routes with the auth middleware Route::middleware(['auth:web'])->group(function ($router) { Route::get('/news', [NewsController::class,…
modi
  • 297
  • 2
  • 3
  • 15
0
votes
1 answer

How to display results in a laravel controller in Vue Template?

Please I have a return values in inside an array in a Laravel Controller. I want to display the in a Vue Template but am having Issue. I need Assistance please. public function search(Request $request) { $batchResults =…
Adorablegh
  • 53
  • 6
0
votes
2 answers

Delete multiple rows using Laravel and Vue Js

Am having a problem deleting multiple rows in Laravel and Vue Js. I am able to get the values of id as an array. When I click on delete button I get a status 200 but no record is deleted from the database. Here is my code: In my table
Hotdot Cyber
  • 361
  • 1
  • 5
  • 21
0
votes
0 answers

How to import data from excel file to mysql using vue Js and Laravel

I am having a problem trying to export an excel file to database using axios. Am able to console the file but cant figure out to post the data. I get this error Failed to load resource: the server responded with a status of 422 (Unprocessable…
Hotdot Cyber
  • 361
  • 1
  • 5
  • 21
0
votes
0 answers

del -rf ../public/{js,css,img} && vue-cli-service build --no-clean | Parameter format not correct - "public"

I am using vue in laravel. npm run watch is working fine to me, But when I am creating a build out of it, it throwing me the following error. > frontend@0.1.0 build C:\wamp64\www\laravel-vue\laravel-vue-cli-3\frontend > del -rf…
jayant rawat
  • 305
  • 4
  • 19
0
votes
0 answers

Download a text file using Vue Js

I am figuring out how I can download a text file on the client side using vuejs. I have searched and all what I have done is to install Filesaver in laravel application using npm install file-saver --save I am also not sure how I will import it in…
Hotdot Cyber
  • 361
  • 1
  • 5
  • 21
0
votes
0 answers

Adding laravel blade content in adminLTE

I have a problem attaching blade content in the adminLTE dashboard starter package. I am also using vue js components and they are displayed well using router-link. Am managing users with pure laravel without vue Js and I want to include that blade…
Hotdot Cyber
  • 361
  • 1
  • 5
  • 21
0
votes
0 answers

error when run npm run watch on Laravel-Vue project

Recently I have build up a Laravel Project, and I tried to integrate it with Vue.js and using the command line npm run watch to see the result, but it shows up some errors. Not only that, I also did not see any Vue components show up in my project…
Kenny
  • 61
  • 1
  • 2
  • 4
0
votes
0 answers

Regarding Vue function in dashboard

We are experiencing problems after a Vue update. However, we cannot locate the error. Could anyone help us find this problem? This has occurred in the dashboard at a certain section where we show the payments from our users, so the admins can look…
0
votes
2 answers

Laravel Vue js project changes not working

I added two columns at the database table, also added those two columns at the model fillable attribute. When I run a route to see the result. It's saying unknown column. Actually it exists at the database Table. I am working on Laravel with Vue…
Ripon Uddin
  • 709
  • 3
  • 14
  • 29
0
votes
1 answer

Vue search customer detail based on phone number input and auto fill address

I try to take customer (name, address) based on phone number input. if customer is there then I want the name and address to auto-filled based on customer data we got. below are my code. my form
Vpa
  • 703
  • 2
  • 9
  • 30
0
votes
1 answer

Json Object Not Updating In another function

I'm working on Laravel and Vuejs, I'm calling API from my vue js usign Axios and getting returned data in a Object. But that Object not giving or getting any data on next method in same vue page. My first function: getCompanyPaymentMethodLists:…
leaveme_alone
  • 576
  • 2
  • 5
  • 24
0
votes
0 answers

How to compile laravel and vuejs app on live server or run 'npm run watch' command?

I have a laravel and vuejs application on a live server. I have changed some text and add some features to my vuejs component but It can not affect my frontend. I think I should run 'npm run watch' or 'npm run dev' command but where is cmd? where I…
MD Shuvo
  • 1
  • 1
0
votes
1 answer

Axios Vue Js: How to get the value of this object to show in api get request url

this is my vue file which accepts the id from table. this works I can get the data id from the table row showProd (id) { Products.showProd().then((response) => { console.log(show1prod.product_name) }) .catch((error) => { …
Errol Boneo
  • 57
  • 3
  • 8