-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(angular): use Ionic standalone components #1798
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw a couple things in here that differed from the guide.
As well as the other comments, it looks like
{
"glob": "**/*.svg",
"input": "node_modules/ionicons/dist/ionicons/svg",
"output": "./svg"
}
needs to be removed from the angular.json (twice in the same file).
import { DataService, Message } from '../services/data.service'; | ||
|
||
addIcons({ personCircle }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docs (step 7) use addIcons
in the constructor
. Is there a reason it's better in one place over the other? (I'm least-familiar with Angular, and I don't know the answer.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure, I was following the design doc. I'll switch to follow the Framework docs to stick with consistency.
angular-standalone/official/list/src/app/message/message.component.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good 👍🏻
@mapsandapps I updated the versions and would like a double check that everything still works. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested the blank starter locally and the dependency updates look good from the latest commit.
Issue URL: internal
What is the current behavior?
Angular standalone starter doesn't use the Ionic standalone components.
What is the new behavior?
Angular standalone starter uses the Ionic standalone components.
Does this introduce a breaking change?
Other information
Leaving it as a draft to prevent the PR to be merged until the mentioned criteria above are met.
Verify that all the Angular standalone starters: