SPA Laravel/Vue.js on XAMPP server does not display anything. What do I do?
Clash Royale CLAN TAG#URR8PPP
SPA Laravel/Vue.js on XAMPP server does not display anything. What do I do?
I developed a Laravel + Vue.js SPA in dev enviroment. I need to publish the app but when access by an apache (xampp) server nothing appears. What do I do?
This is my package.json:
"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":
"bootstrap": "^4.0.0",
"bootstrap-sass": "^3.3.7",
"cross-env": "^5.1",
"jquery": "^3.2",
"laravel-mix": "^2.1.11",
"lodash": "^4.17.4",
"popper.js": "^1.12",
"vue": "^2.5.7",
"webpack": "^3.12.0"
,
"dependencies":
"axios": "^0.18.0",
"vue-axios": "^2.1.3",
"vue-router": "^3.0.1"
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.