You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to include 3rd party libs like ng2-translate, ng2-material and others?
After adding module to vendor.ts and build i have errors.
Inside your files i added:
vendor.ts
I fixed it
import * as _angular_translate from 'ng2-translate/ng2-translate';
default as _angular_translate,
build
globals as 'ng2-translate/ng2-translate': 'vendor._angular_translate'
and external 'ng2-translate/ng2-translate'
But I can't configure ng2-auto-complete the same way and I don't know why
with npm run serve it is working but
after this configuration I have this error with npm run roll
compile error: Error: Could not resolve '../../../src/translate.service'
The text was updated successfully, but these errors were encountered:
How to include 3rd party libs like ng2-translate, ng2-material and others?
After adding module to vendor.ts and build i have errors.
Inside your files i added:
vendor.ts
I fixed it
import * as _angular_translate from 'ng2-translate/ng2-translate';
default as _angular_translate,
build
globals as 'ng2-translate/ng2-translate': 'vendor._angular_translate'
and external 'ng2-translate/ng2-translate'
But I can't configure ng2-auto-complete the same way and I don't know why
with npm run serve it is working but
after this configuration I have this error with npm run roll
compile error: Error: Could not resolve '../../../src/translate.service'
The text was updated successfully, but these errors were encountered: