devmark / ngx-slick

angular6 a wrapper for slick plugin
108 stars 46 forks source link

with Angular Universal? #35

Open vagnerolliver opened 6 years ago

vagnerolliver commented 6 years ago

AnyBody already got run with Angular Universal?

polaris327 commented 6 years ago

I have recently tried to upgrade my Angular 5 project to Angular universal. Everything went well except ngx-slick library. I got the undefined issue when I wrap this up with Angular universal. Any clue on this?

luk3vn commented 6 years ago

https://github.com/devmark/ngx-slick/compare/master...vn271:patch-1
Maybe helps you

dwene commented 4 years ago

Anybody ever get this working well? My sliders still don't show on first render.

vavepl commented 4 years ago

global['slick'] = require('slick-carousel');

it works in server.ts