3 Replies Latest reply on Feb 11, 2018 9:34 AM by jcesarmobile_

    How to install NPM modules and use them in my project?

    benr48764503

      Hello,

       

       

      I am not understanding how to use an npm module into my phonegap project.

       

      Right now I would like to use this:

      cordova-sqlite-storage

       

      I have ran the command:

      npm i cordova-sqlite-storage

       

      Now the package shows here:

      node_modules/cordova-sqlite-storage

       

      But my project is here:

      www/index.html

       

       

      How to link the node_modules/cordova-sqlite-storage to my index.html please? What is the correct way of doing this?

       

      Thank you.