ecomclub / ecomplus-storefront-renderer

Vue.js app to render E-Com Plus store template
https://developers.e-com.plus/storefront-renderer/
Apache License 2.0
0 stars 0 forks source link

Mount Vue instance only after API response #2

Closed leomp12 closed 5 years ago

leomp12 commented 5 years ago

Mount Vue instance async after respective API response (when data is set) with vm.$mount() istead of using el property.

leomp12 commented 5 years ago

It should solve SSR + client side hydrate implementation, for that, we must also check for a <script type="text/x-template"> tag right after each ._ecom-el.rendered or ._ecom-el[data-server-rendered="true"].

leomp12 commented 5 years ago

Done with v3