Now it becomes difficult to see documents or examples when Ionic 2 is missing.
I want to use ionic.native.js in the old project Ionic V1. The fact that the installation is carried out using npm
npm install ionic-native --save
But now I have a ton of npm modules under node_modules/ as a dependency. Ion documentation says:
If you are using Angular 1.x or plain ES5 JavaScript, you need to add to your index.html ionic.native.js
but they do not give an example of "how" to place it in index.html - and this is my question.
Currently my file is located in:
> find . -name ionic.native.js ./node_modules/ionic-native/dist/ionic.native.js
No problem for gulp node_modules/ the dir ... so how do I import it into index.html ? or maybe I used the npm command in the wrong place? (now it is in the root directory of the project, where gulpfile.js lives)
source share