Skip to content

Running Vue on Code-Server #3912

Answered by jsjoeio
abhinav1912 asked this question in Q&A
Aug 6, 2021 · 2 comments · 12 replies
Discussion options

You must be logged in to vote

I figured it out. It's similar to how we tell folks to proxy Create React App

  1. add vue.config.js
  2. Change port and publicPath
module.exports = {
  devServer: {
    port: 3454,
  },
  publicPath: "/absproxy/3454",
}
  1. access app at <code-server-root>/absproxy/3454 e.g. http://localhost:8080/absproxy/3454

Read more about publicPath in the Vue.js docs

Video

Screen.Recording.2021-08-06.at.10.43.25.AM.mov

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
2 replies
@abhinav1912
Comment options

@im-coder-lg
Comment options

Comment options

You must be logged in to vote
10 replies
@Blakeinstein
Comment options

@abhinav1912
Comment options

@Blakeinstein
Comment options

@jsjoeio
Comment options

@bpmct
Comment options

Answer selected by abhinav1912
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants