guides icon indicating copy to clipboard operation
guides copied to clipboard

How do I import an npm module whatever

Open villander opened this issue 8 years ago • 3 comments

how do I import an npm module whatever (AMD, commonJS, UMD) in ember-cli?

We should better document this, and ensure the community's ergonomics by putting a third-party library in your app, and adding that into an addon (which is even more painful)

villander avatar Feb 14 '18 14:02 villander

@villander For now, this section in the ember-cli guides should provide you most of what you are looking for: ember-cli User-guide: Managing Dependencies

pbishop16 avatar Feb 25 '18 18:02 pbishop16

No! You are mistaken. It is not very clear how to import npm modules be they AMD, CMJ and etc in ember apps. And even modules made in TS.

We had a long discussion on slack and then we decided to open this issue with the @Turbo87

villander avatar Feb 25 '18 18:02 villander

@villander Ah, okay understood. Thanks for the feedback. I will standby for further insight.

pbishop16 avatar Feb 25 '18 23:02 pbishop16