简体   繁体   中英

Can I install a NPM Package in a Ionic Project?

Its that simple...

How can I config and use a Node Module with Ionic? Its not a Ionic plugin... its a node package.. Every package on NPM has a descrption of how to configurate it using javascript. But when Im using the Framework Ionic I dont know where and how to configurate it.

Yes, an Ionic App is packaged through npm itself, and you can install dependencies to it as if it was a Node.js App itself, and dependencies installed will go to your package.json file as usual.

More information in the official docs

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM