universal-vue / uvue

Vue CLI plugin to create universal Vue applications with ease
https://universal-vue.github.io/docs/
MIT License
127 stars 13 forks source link

Directives not working after ssr:static #33

Closed demyan1411 closed 5 years ago

demyan1411 commented 5 years ago

In server.config.js I add

renderer: {
      directives: {
        tooltip: function (vnode, meta) {
          console.log(vnode);
          vnode.text = meta.value;
        }
      },
    }

and after yarn ssr:static directive not working

yabab-dev commented 5 years ago

Thanks for report !

yabab-dev commented 5 years ago

Fixed in 0.1.0-alpha.19