Skip to main content

All Questions

0 votes
0 answers
266 views

Cannot update data using vue.js in laravel

In my update form i have a file field that i want to update so i'm using following code and created a form object but when i pass form object i cannot get the data of form object in my controller. let ...
user3653474's user avatar
  • 3,858
0 votes
1 answer
74 views

How to pass a data from laravel into Vue Router?

I am using laravel-vue project and i want to pass the base url from laravel view to vue router component. ex. this data {{ url('/') }}. Is this possible to pass it on the vue router?
AbingPj's user avatar
  • 659
1 vote
1 answer
589 views

How to make vue-router mode history work with laravel routes

I currently have a SPA using Vuejs VueRouter and Laravel. What I am trying to do is to make the experience as smooth as possible for the user. I have laravel routes as well as vue routes defined. The ...
CEJ's user avatar
  • 181
0 votes
1 answer
783 views

Issue with dynamicallly router.addRoutes importing Component

I'm currently playing around with Vue using Laravel as Backend. I've setup a Page Model, where each Page can have "children". Now I'm trying to build the routes for vue-router dynamically. Note: ...
Patrick Heppler's user avatar
0 votes
1 answer
65 views

Dominate vue router with Laravel router

I am building an application with Laravel and Vue.js. I am using vue router. With this I am controlling all routes. Now, I want to make an url xyz.com/admin which will different (Laravel new route, I ...
kazi Raushan's user avatar
0 votes
0 answers
76 views

Vue component included in laravel blade is not rendering while using router-link?

I have such code in my app.blade.php file. <router-view name="popupAction"></router-view> @yield('content') and other blade files are extending the app.blade.php file. while I am in ...
Anish Panta's user avatar
1 vote
1 answer
2k views

How to make redirection to some vue form from laravel's control?

In my Laravel 5.6 application with vue.js 2.5.7 I and vue-router 3 I use Socialite for login into the system and in case of success I need to make redirection to some vue form with success message and ...
mstdmstd's user avatar
  • 626
0 votes
1 answer
1k views

How to route to specific div in a component in vuejs 2

My routes for the application are const router = new VueRouter({ mode:'history', routes:[ { path:'/home', name:'home', component: Home }, { path: '/...
Ankush Sood's user avatar
3 votes
1 answer
2k views

Error TypeError: Cannot read property 'dispatch' of undefined at app.js:12012

Hi I've been trying to learn vuejs and vuex while trying to get response from an api call with vuex concept I got the following error.Please help. This error occurred Error TypeError: Cannot read ...
Ujjual's user avatar
  • 998
4 votes
2 answers
7k views

Laravel logout route in Vue component

In my Laravel 5.5 project I have a Vue component as a separate file with .vue extension. In its template there is a vue-router link. Also, I need to place the standard Laravel logout link here. <...
Виталий Комаров's user avatar
0 votes
1 answer
362 views

How to open a vue component with URL (vue - router)?

I have an application which works with Laravel 5 + VueJs and vue-router menu <div class="collapse navbar-collapse" id="main-menu" > <ul class="nav navbar-nav"...
Viktor's user avatar
  • 1,712
1 vote
0 answers
44 views

how to write routes in a laravel + vuejs 2 + vue-router + vue-axios project?

this is how i've set the files in /ressources/assets/js/ file: /js/router/index.js & /js/router/mainRoutes.js, i wish to put my routes in mainRoutes.js /js/store/index.js for state management (...
Michel Tchoutang's user avatar
2 votes
0 answers
4k views

Error: Loading chunk 0 failed

I'm using Buefy with Laravel and have the following routes Laravel Route::get('/{vue?}', function () { return view('app'); })->where('vue', '[\/\w\.-]*')->name('app'); Then VueJS ......
Kendall's user avatar
  • 5,255
0 votes
1 answer
178 views

VueRouter is not changing routes inside laravel

I am stuck at this point where i can not load my components with view router, I can only load Foo component but when i type the url for Bar i get the "Sorry the page can not be found " from Laravel ...
CYBERSIX's user avatar
  • 377
0 votes
0 answers
113 views

Laravel route go wrong function

I am using Laravel 5.4 and VueJS. when I config route. I can go to create and show function in controller fine. However, problem with destroy and update function. Although I see this method is PUT or ...
thanhoangxuannghiep's user avatar

15 30 50 per page