This project demonstrates an updated Ionic v1 project that uses the
latest XLTS for AngularJS 1.5.x release (1.5.18
) rather than the 1.5.3
End-Of-Life version
that ships with the Ionic v1 SDK. It also makes use of
XLTS for AngularJS Material 1.1.x (1.1.30
).
The project uses NPM instead of the
deprecated Bower. We use the
tools/populate-lib.sh script to copy library files from node_modules/
to
www/lib/
.
If you want to use the LTS packages, you can run the npm run switch-to-lts-packages
script instead of npm install
.
The project uses to the latest sass
package and removes the use of the deprecated node-sass
package. This
includes migrating the Ionic Sass files to
remove use of the slash (/
) for division.
The project supports the NodeJS LTS (14.x) through the use of the npm-force-resolutions
package to solve
errors related to primordials
.
The project uses Cordova, as that is most common with Ionic v1 projects, even though many recommend Capacitor now.
npm start
npm run start:android
npm run start:ios
npm run e2e
Check out our GitHub Discussions section to ask questions or find answers.