3

When I write npm run dev it starts on http://localhost:8080

Is it possible run on http://testdomain.local/? (without port)

artem0071
  • 2,369
  • 3
  • 14
  • 25
  • Vue is using webpack which is using express as their dev server. As far as I am concerned webpack always has to listen to a specific port, but you could remap your desired domain in your operating system's host file to the localhost address. – Philip Feldmann Aug 28 '17 at 12:34
  • 1
    See this: https://stackoverflow.com/questions/8652948/using-port-number-in-windows-host-file – For the Name Aug 28 '17 at 16:42

0 Answers0