Questions tagged [laravel-vue]

89 questions
0
votes
0 answers

Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. (Vue-router)

I am having an issue while adding routes in Vue using Vue-router. I know it is a warning but still, I need to solve this issue, so your help will be appreciated. I am working with laravel vue and I am beginner. I tried almost every StackOverflow…
0
votes
0 answers

Laravel: Append using vue js

Im new in vue js and trying to explore it. I have button and that button has an event click, once the button clicked, it will add an input field in my specific div. Vue file
Angel
  • 966
  • 4
  • 25
  • 60
0
votes
2 answers

Vue js Page View Source not readable

How can we replace a component tag to render HTML code in view-source?
Dwarkesh Soni
  • 289
  • 3
  • 16
0
votes
1 answer

How can I get URLs params from my Laravel Controller using Vue

I am trying to get the query string params. I have tried everything I can find on SO as well as general Google searches such as follows. URL = http://example.com?companyId=1&subcompany=3; Then in my controller: $companyId =…
Premisoft
  • 177
  • 12
0
votes
1 answer

Laravel-Vue-Pagination error when trying to go to a different page

api.php Route::get('/products', 'ProductsController@index'); Query: $products = DB::table('sizes') ->join('products', 'sizes.id', '=', 'products.sizes') ->join('categories', 'products.category', '=', 'categories.id') ->select('products.*',…
Mike Shiv
  • 203
  • 4
  • 12
0
votes
2 answers

Laravel with Vuejs run project without php artisan serve

I am developing a VueJs application in Laravel. In my local environment I have to use php artisan serve command to serve my project. In server I am using php artisan serve --host 0.0.0.0 --port 8000 command to run my project. I have configured…
balaraman
  • 397
  • 1
  • 7
  • 21
0
votes
0 answers

Laravel Vue Single Page Deployment on Cpanel

I host my laravel-vue project on Cpanel sub-folder. My welcome page is
0
votes
0 answers

How to import js file(s) inside vue component (laravel)

I have a form.js stored in my resource/js/ class Form{ constructor(){ //more coding here } //more coding here } My question is how can I import the file above inside my .vue file? I tried these below: