sne11ius / egghead.space

egghead.space is a place to share ideas for side projects
https://egghead.space
GNU Affero General Public License v3.0
13 stars 7 forks source link

Add SSR #20

Closed sne11ius closed 6 years ago

sne11ius commented 6 years ago

ftw

sne11ius commented 6 years ago

See

sne11ius commented 6 years ago

Possible solutions:

sne11ius commented 6 years ago

Vorschlag:

sne11ius commented 6 years ago

This looks interesting: https://github.com/nuxt/nuxt.js/issues/1634

sne11ius commented 6 years ago

We should test drive this thingy:

Nope, looks like the author never tested the project on firebase. It has zero answers for missing node 8 support in firebase functions

sne11ius commented 6 years ago

Should be easy as:

  1. https://github.com/sne11ius/Vue-Firebase-SSR-Template is a working example of an isomorphic spa running on firebase (https://hotshots-9001.firebaseapp.com/)
  2. Here is a simple example for vuex + firestore: https://github.com/ooade/vuex-examples/tree/firestore
  3. Just combine these and more or less rewrite the whole app
  4. ...
  5. Profit
sne11ius commented 6 years ago

Regarding nested asyncdata see code here: https://github.com/vuejs/vue-ssr-docs/issues/29