ulcuber / vue-bem-directive

Vue directive for dynamic generation of classes in BEM notation
ISC License
5 stars 1 forks source link

SSR? #5

Open Nettsentrisk opened 5 years ago

Nettsentrisk commented 5 years ago

Does this work with SSR? If not, can a custom server-side directive be included to work with vue-server-renderer and the directives option? :)

ulcuber commented 3 years ago

@Nettsentrisk As I tried now, It works in SSR environment without errors. It doesn't cause hydration errors but just leads to missing classes in SSR-response. I'll try to add SSR-support after adding TypeScript types.

P.S. Sorry for being late. Was working on PHP-backends and was waiting for nuxt projects.