MillerRen / vue-boilerplate

Vue 2.0 boilerplate,based on webpack and es6,includes vuex,vue-router,vue-resource, vuelidate

Home Page:https://millerren.github.io/vue-boilerplate/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with proxy middleware

vinhtq opened this issue · comments

I always have this error when run npm run dev

[HPM] Proxy created: /api  ->  http://localhost:9000
[HPM] Subscribed to http-proxy events:  [ 'error', 'close' ]

So that you cannot make any request to server route

Have you started the server? You have to run it by node server app.js or provide another server. I will improve readme.

I moved server packages to server directory. You need to install them.