Skip to main content

All Questions

Tagged with
0 votes
0 answers
56 views

"NetworkError when attempting to fetch resource" with vue router 4, vue 3 and vuex 4

after an update, going from ‘vue js 2’ to ‘vue js 3’, ‘vue-router 3’ to ‘vue-router 4’ and ‘vuex 3’ to ‘vuex 4’, I'm trying to fix my code so that it all works with Laravel. This code worked before ...
Zekura's user avatar
  • 335
0 votes
0 answers
46 views

vue-router history mode flexible for non-ssr and ssr mode

I am first time developing a laravel - Inertia - Vue App and am doing y first steps with SSR. At the moment during setup of the router I create a WebHistory which obviously isn't suited for SSR ...
Canelo Digital's user avatar
-1 votes
1 answer
111 views

Vuejs guard router failed with infinite loop

Hellop, I have a vue3 app consume laravel 11 api, I want to develop a router guard to redirect unauthenticated users to the login page. When the Laravel server is not running, the code works and ...
MAHA OUEGHLANI's user avatar
0 votes
1 answer
26 views

error get data to one data using vue router and laravel

I learning Vue in use Vue router, make crud SPA application component to show all data: <template> <div> <table class="table table-striped"> <...
Andrey V's user avatar
0 votes
0 answers
37 views

Integrating Vue.js 3 and Laravel in a Single Project with a JavaScript Template

I am working on a project with Vue.js 3 for the front-end and Laravel for the back-end, but both in the same project. To speed up the project's development, I purchased a template made in vanilla ...
Romuald 's user avatar
0 votes
3 answers
306 views

HTML5 History Mode from vuerouter not work in production

On my Laravel and Vue.js V2 project, I've implemented Vue Router v3 with History mode. It works perfectly on my development machine. However, as soon as I switch to production, I get the error message ...
Zekura's user avatar
  • 335
0 votes
1 answer
118 views

Use router-link instead of web route in laravel

I am using laravel 9 and vue 3. When I visit a link through the clicking the menu, I am getting the result I expected. On the other hand, when I visit the same link through typing in the url or ...
Hope's user avatar
  • 644
-1 votes
1 answer
68 views

VueJS 3: Page styles not loaded in child route

Basically I have this route config: { path: '/settings', name: 'settings', component: AppLayoutComponent, children: [ { path: 'profile', component: ProfileComponent }, {...
jreloz's user avatar
  • 440
6 votes
2 answers
1k views

Error when compiling in production mode "is not a function" Vue Laravel Mix

I have a Laravel, VueJs, VueRouter, Vuex application using Webpack to compile my assets. package.json { "private": true, "scripts": { "dev": "npm run ...
DarkFenix's user avatar
  • 746
-1 votes
1 answer
451 views

Laravel - 9 Vite with vue cli 3 - vue-router error

I can't fixed it please help. what is the issues. I need help. can't find out it. Error Image Link:
Rashiqul Rony's user avatar
2 votes
2 answers
7k views

Inertia JS consume laravel api

I know that inertia does not need to vue router but I have a Laravel API that I will consume from a vue app and react native app (mobile), the web side (vue app), I install it inside the laravel ...
MAHA OUEGHLANI's user avatar
0 votes
0 answers
143 views

Vue Router not working when deployed on heroku

i'll just deploy my LaraVue app on Heroku, everything is fine but the router is not working. when i visit https://example.com/read its display error 404 ngix. the app work properly in localhost but ...
LackFos's user avatar
  • 37
1 vote
1 answer
91 views

Component not showing only on login

I have setup a Laravel(8.83.23) with Jetstream(2.7.5) and Inertia laravel(0.3.6) Im using Vuejs(2.7.3) with vue-router(3.6.4) and it seem inertia-vue(0.5.12) Everything work fine except for the ...
Skarn's user avatar
  • 11
0 votes
1 answer
3k views

[Vue warn]: Unhandled error during execution of mounted hook

I am creating a to-do web app. I have successfully fetched all the to-do list items and displayed them on my homepage. The problem comes when I try to fetch only one post and display it, which returns ...
Tukei David's user avatar
-1 votes
1 answer
630 views

How to integrate vue router into an existing laravel-vue project

I have a laravel vue project and am struggling to install vue router. I installed vue-cli via : npm install --save-dev @vue/cli-service then: vue add router the latter has created a whole bunch of ...
thecodewanderer's user avatar

15 30 50 per page
1
2 3 4 5
19