Have you considered upgrading your Laravel version to a newer release?
Also please be more specific about what problems you are having connecting Vue with Laravel.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am facing some issue while connecting vue js with laravel 5, Please provide suggetions if any has solution
Have you considered upgrading your Laravel version to a newer release?
Also please be more specific about what problems you are having connecting Vue with Laravel.
@CamKem I used the aforementioned packages, and the Laravel application was executed from the root path in the education subfolder. When shared hosting is switched to a dedicated server, larval APIs continue to function normally, but the call to the subfolder root path is broken. The current website is it. Can someone please explain to me how to fix this issue?
For example, mydomin.com/education/#/ not working it's redirecting to laravel welcome page, the vue js, the vue js root path not working like "mydomin.com/education/#/"
{ "private": true, "scripts": { "dev": "npm run development", "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", "watch": "npm run development -- --watch", "watch-poll": "npm run watch -- --watch-poll", "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js", "prod": "npm run production", "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js" }, "devDependencies": { "axios": "^0.18", "bootstrap": "^4.1.0", "cross-env": "^5.1", "jquery": "^3.2", "laravel-mix": "^4.0.7", "lodash": "^4.17.5", "popper.js": "^1.12", "resolve-url-loader": "^2.3.1", "sass": "^1.15.2", "sass-loader": "^7.1.0", "vue": "^2.5.17", "vue-template-compiler": "^2.6.10" }, "dependencies": { "laravel-mix-purgecss": "^4.1.0" } }
@nanireshna are you using as remote development server? generally, you would do you development locally, then use something like Laravel Forge to push your app to production on your shared hosting server.
That way, your app will be configured correct to run when it is uploaded to your server & you would ssh and run npm.
You keep mentioning that your app is redirecting to the laravel welcome page, if you have just installed a Vue scaffold for laravel it will redirect to the welcome page. What is it that you are expecting? You are not being explicit enough that we can understand the issue in order to help you.
I based on the little I can guess as to what you are trying to do, I would recommend looking into trying to set up a Laravel 9 new application with a Vue scaffold for one of the starter packages.
Maybe google, "how to set up Laravel breeze on a remote development server"
@CamKem Please provide your contact details, email and phone number This is somehting urgent for me, Please help me out
@nanireshna Why on earth are you trying to deploy such an outdated version of Laravel in the first place?! Laravel 10 is due for release in around two weeks!
I used the aforementioned packages, and the Laravel 5 application was executed from the root path in the education subfolder. When shared hosting is switched to a dedicated server, larval APIs continue to function normally, but the call to the subfolder root path is broken. The current website is it. Can someone please explain to me how to fix this issue?
For example, mydomin.com/education/#/ not working it's redirecting to laravel welcome page, the vue js, the vue js root path not working like "mydomin.com/education/#/
Please or to participate in this conversation.