Molunerfinn / vue-koa-demo

:beginner:A simple full stack demo(CSR & SSR & Docker Support) written by Vue2 & Koa2(Koa1 verson also completed)
MIT License
756 stars 166 forks source link

SSR #23

Closed outOFFspace closed 6 years ago

outOFFspace commented 7 years ago

Any plans about SSR?

Molunerfinn commented 7 years ago

I think I can make it on the ssr branch in this month : )

Molunerfinn commented 6 years ago

Partly finished in the ssr branch. Use npm run server or yarn server then it works. However, it still has some problems:

  1. can't hot reload
  2. can't refresh the page using F5

I will try my best to solve those problems in these days. : )

Molunerfinn commented 6 years ago

Update: 2017/12/01 20:00 Done!

Update: 2017/12/01 In dev mode, I have solved the two problems above:

  1. in dev mode, now you can hot reload
  2. in dev mode, now you can refresh page using F5

I haven't do the production mode, but I will do it ASAP. : )