-
Notifications
You must be signed in to change notification settings - Fork 6
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): create an angular schematic #19
Conversation
Pull Request Report PR Title ✅ Title follows the conventional commit spec. |
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.
As you said, there's plenty of boilerplate with angular... 🤷
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 didn't have time to check in detail the angular schematic things, however, I did spot an issue with path and Windows :)
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.
Some minor changes, LGTM overall 👍
With angular schematics we can define templates to generate entire Angular project or simply inject specific elements (like the Headless Engine and its dependencies) to an existing Angular project.
The @coveo/angular schematic can also be used on its own with the Angular CLI.
So if you want to set up a Coveo search page in an existing Angular project, you would just do
ng add @coveo/angular --orgId<org-id> --apiKey=<api-key>
Eventually, the feature CDX-49 will leverage that into the @coveo/cli as a specific command