mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 10:41:13 +08:00

Issue number: N/A [The Stencil team has moved their community from Slack to Discord](https://twitter.com/stenciljs/status/1658561079767887873). --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> There is a link to the Slack. ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - There is a link to the Discord. ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
55 lines
1.2 KiB
Markdown
55 lines
1.2 KiB
Markdown
# @ionic/angular
|
|
|
|
Ionic Angular specific building blocks on top of [@ionic/core](https://www.npmjs.com/package/@ionic/core) components.
|
|
|
|
|
|
## Related
|
|
|
|
* [Ionic Core Components](https://www.npmjs.com/package/@ionic/core)
|
|
* [Ionic Documentation](https://ionicframework.com/docs/)
|
|
* [Ionic Discord](https://ionic.link/discord)
|
|
* [Ionic Forum](https://forum.ionicframework.com/)
|
|
* [Ionicons](http://ionicons.com/)
|
|
* [Stencil](https://stenciljs.com/)
|
|
* [Capacitor](https://capacitor.ionicframework.com/)
|
|
|
|
|
|
## License
|
|
|
|
* [MIT](https://raw.githubusercontent.com/ionic-team/ionic/main/LICENSE)
|
|
|
|
## Testing ng-add in ionic
|
|
|
|
1. Pull the latest from `main`
|
|
2. Build ionic/angular: `npm run build`
|
|
3. Run `npm link` from `ionic/angular/dist` directory
|
|
4. Create a blank angular project
|
|
|
|
```
|
|
ng new add-test
|
|
// Say yes to including the router, we need it
|
|
cd add-test
|
|
```
|
|
|
|
5. To run schematics locally, we need the schematics-cli (once published, this will not be needed)
|
|
|
|
```
|
|
npm install @angular-devkit/schematics-cli
|
|
```
|
|
|
|
6. Link `@ionic/angular`
|
|
|
|
```
|
|
npm link @ionic/angular
|
|
```
|
|
|
|
|
|
7. 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.
|