20 thoughts on “Deploy Vue.js app to an Apache server 2020 (shared Linux hosting) – Code with bro

  • When i use svelte had has a problem like this. Why haven't dot?

  • Thank you, just needed the dot in front of path!!

  • thank you bro i faced this problem today and i solved it with your advice

  • Thank you so much, I was limited on that point, it was difficult to use Vue CLI becaise of deploying problem.
    Thanks alot

  • Yo sé que no hablas espanol. Yo tampoco entiendo nada de lo que hablas, pero diste con la solución, gracias. Saludos de Venezuela

  • Gracias!!!!! dias y dias buscando la solucion, saludos desde Argentina!!

  • bro when I open my project it opens a blank page with navbar sit on the top. it does not open homePage directly like in node server, so I should open it from the navbar. please help to make it open homePage directly or / page

  • thank u so so so so so so much!!!!!!!!!!!!!!!! thank you from the bottom of my heart!!!!!

  • Gracias este tutorial pude resolver la publicación de mi sitio en un servidor Debian 10. Thanks very much.

  • Create a file named vue.config.js in the home directory where the package.json file is located and paste the following code into it.

    module.exports = {

    publicPath: process.env.NODE_ENV === 'production'

    ? './'

    : '/'

    }

    now npm run build to deploy again

  • thak youuuu dude!!!!!! now I am able to post my projects on github pages 🙂

  • really helped me out. thankyou. you eaned yourself a sub. just one thing. rest of my App works perfectly on apache server however images are still not loading and giving 404 error. please help me out

Comments are closed.