mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(changelog): still have to be imported
This line was incorrect in saying that you did not have to import providers, pipes etc. You still have to import those into the components you want to use them in, but they should not be in the providers, pipes or directives array in @Component.
This commit is contained in:
@@ -343,7 +343,7 @@ Note: For details on NgModules you can read the Angular docs on them [here](http
|
||||
|
||||
8. Import and add each of your providers to the `providers` array in `src/app/app.module.ts`.
|
||||
|
||||
9. Remove any use of the `providers`, `pipes` and `directives` entries in `@Component`, and their corresponding `import` statements, from your pages.
|
||||
9. Remove any use of the `providers`, `pipes` and `directives` arrays in `@Component`.
|
||||
|
||||
10. Change any uses of the `private` TypeScript keyword to `public`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user