vuejs / vue-hackernews-2.0

HackerNews clone built with Vue 2.0, vue-router & vuex, with server-side rendering
MIT License
10.96k stars 2.15k forks source link

vue-ssr-client-manifest examples ? #160

Open Sleashe opened 7 years ago

Sleashe commented 7 years ago

Hi everyone ! While reading https://github.com/vuejs/vue-ssr-webpack-plugin, I saw that we could generate a vue-ssr-client-manifest to automatically infer and inject preload/prefetch directives and script tags into the rendered HTML. I tried to implement this system based on hackernews boilerplate but without any success...

I would like to measure the impact/gain of performances, especially on TTI. Do you have guys any examples on how to implement this ?

Thanks a lot in advance !

JounQin commented 7 years ago

https://github.com/vuejs/vue-hackernews-2.0/tree/client-manifest

Sleashe commented 7 years ago

Thanks ! I'm trying to work following the code inside this branch, but nothing's working yet... I'll try harder.

yyx990803 commented 7 years ago

This branch relies on an unreleased version of Vue and may still undergo changes - hold off until 2.3 is out!

Sleashe commented 7 years ago

Okay thanks a lot @yyx990803 for this information (and for your work!). I'll hold off until 2.3 is out. Do you have an estimation date ? I can't wait to test it ! :)