What I do is I install what I need via npm, or just download it in any other way. Then I save the files I need inside the app
folder just to keep things organized.
- JS / TS files:
I import them from my app’s TypeScript files.
I saw an alternative solution in this post here but I haven’t tested it: Modular charts in Ionic?
// Importing TypeScript module
import {Camera} from 'ionic-native';
// Importing JavaScript library
import * as Chart from 'pathToJSOrNPMPackage'; // Import a JS file that has
- CSS / SCSS files:
I import them from my app’s SCSS files
@import "path/to/css/or/scss/file";