-
Notifications
You must be signed in to change notification settings - Fork 275
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
[Angular XMC Proxy] Extract SXP related things from the base Angular template #1838
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.
As a part of this we also need to add an empty angular-xmc add-on
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.
Good progress!
See some ideas/questions below
packages/create-sitecore-jss/src/templates/angular/package.json
Outdated
Show resolved
Hide resolved
packages/create-sitecore-jss/src/templates/angular/package.json
Outdated
Show resolved
Hide resolved
packages/create-sitecore-jss/src/templates/angular-sxp/scripts/bootstrap.ts
Outdated
Show resolved
Hide resolved
...s/create-sitecore-jss/src/templates/angular-sxp/src/app/routing/layout/layout.component.html
Outdated
Show resolved
Hide resolved
…figurationName config property is set only for angular-sxp via plugin; removed rest services from the base template; moved fetchWith env variable in angular-sxp
...s/create-sitecore-jss/src/templates/angular-sxp/src/app/routing/layout/layout.component.html
Outdated
Show resolved
Hide resolved
...eate-sitecore-jss/src/templates/angular/src/app/routing/navigation/navigation.component.html
Show resolved
Hide resolved
packages/create-sitecore-jss/src/templates/angular/src/graphql-fragment-types.ts
Show resolved
Hide resolved
packages/create-sitecore-jss/src/templates/angular/src/lib/config.ts
Outdated
Show resolved
Hide resolved
packages/create-sitecore-jss/src/templates/angular-sxp/src/app/app.module.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.
Some final questions / suggestions, otherwise looks good!
Description / Motivation
This PR extracts all SXP related code from the base Angular template into a new angular-sxp addon template.
It also adds initializer for the new add on. The regular Angular app should now be initialized by providing both templates: 'angular,angular-sxp'
Illia:
Testing Details
Types of changes