monad98 / ng2-lazy-trumbowyg

Angular 2 Component for lazy loading of Trumbowyg wysiwyg editor
https://plnkr.co/edit/dirpKmLNalUmz0mpdrk7?p=preview
MIT License
12 stars 8 forks source link

In "npm install", trumbowyg not downloading all its dependencies #24

Closed srigar closed 6 years ago

srigar commented 6 years ago

I just did all the steps as given and it is working fine in dev env. After development i put my production build(ng serve --prod) into my server. From server it is trying to download two of its dependencies 1.https://cdnjs.cloudflare.com/ajax/libs/Trumbowyg/2.8.0/ui/trumbowyg.min.css 2.https://cdnjs.cloudflare.com/ajax/libs/Trumbowyg/2.8.0/trumbowyg.min.js But the problem is i dont have internet connection in my server(Completely Intranet). Why it is not downloaded all its dependencies at the build time and what is the work around for that? capture

srigar commented 6 years ago

Can you please help me out with this?

monad98 commented 6 years ago

I think you can save those two files locally and change the source code to point local address like localhost:4200/trumbowyg.min.css

srigar commented 6 years ago

Ok let me try that.