If the library / module exists in npm ( as it seems to be the case for years ), you would only have to Go to the directory of your project and execute the following command (as indicated in the instructions ):
npm install aos --save
That should download the necessary files and add the dependencies in the configuration files.
If it is a library that you have downloaded, then the general idea is that you have to put the downloaded libraries in the structure of your project and then import those local copies instead of copies to online libraries.
The steps to follow would be something like this:
Create your project with ionic
Browse to the src/assets
directory of your project
Create a directory for the JS and CSS (for example the directories js
and css
)
Open to edit your index.html (it should be directly in the src
directory)
Add reference to JS: <script src="assets/js/tu.js></script>
Add the reference to the CSS: <link rel="stylesheet" href="assets/css/tu.css" />