mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-02-04 13:16:08 +08:00
* fix cordova resume error
In cordova browser error is thrown everytime tab/window is reactivated:
Uncaught TypeError: Cannot read property 'detail' of undefined
at Channel.<anonymous> (util.js:10)
at Channel.fire (cordova.js:798)
at HTMLDocument.<anonymous> (cordova.js:1511)
That was fixed in previous commits, by in latest was reintroduced again.
* update types
@ionic/angular
Ionic Angular specific building blocks on top of @ionic/core components.
Related
- Ionic Core Components
- Ionic Documentation
- Ionic Worldwide Slack
- Ionic Forum
- Ionicons
- Stencil
- Stencil Worldwide Slack
- Capacitor
License
Testing ng-add in ionic
- Pull the latest from master
- Build ionic/angular:
npm run build - Run
npm linkfrom ionic/angular directory - Create a blank angular project
ng new add-test
// Say yes to including the router, we need it
cd add-test
- To run schematics locally, we need the schematics-cli (once published, this will not be needed)
npm install @angular-devkit/schematics-cli
- Link
@ionic/angular
npm link @ionic/angular
- Run the local copy of the ng-add schematic
$ npx schematics @ionic/angular:ng-add
You'll now be able to add ionic components to a vanilla Angular app setup.