[PAGES-238] Load SPA from external server Created: 10/Feb/20 Updated: 17/Dec/21 Resolved: 01/Sep/21 |
|
| Status: | Closed |
| Project: | Magnolia pages module |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Neutral |
| Reporter: | Christopher Zimmermann | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Epic Link: | External SPA | ||||||||||||||||
| Description |
Notes: Currently, it is not possible for the page editor to directly operate on a page loaded from a different domain in an Iframe due to browser security restrictions. In a truly headless scenario, the SPA may be running on a external server. For example React apps often run on a Next server, Vue apps often run on a Nuxt server. Even if not using any of these frontend servers, developers benefit when they dont need to always have this extra step of deploying the SPA to the magnolia light module when there are changes.
Acceptance criteria:
There is an Incubator module which does this: https://wiki.magnolia-cms.com/display/SERVICES/SPA+renderer+extended Notes from meeting which describe rationale of "spa-renderer-extended": https://wiki.magnolia-cms.com/display/TH2/2020-10-07+External+SPA+Braindump |
| Comments |
| Comment by Christopher Zimmermann [ 11/Jun/20 ] |
|
It looks like this approach may solve the requirement: https://wiki.magnolia-cms.com/display/SERVICES/SPA+renderer+extended
|
| Comment by Christopher Zimmermann [ 01/Sep/21 ] |
|
This is an older ticket that is essentially described/captured in the epic itself, https://jira.magnolia-cms.com/browse/PAGES-414 therefore it is redundant. - closing as duplicate. |