Comments (6)
Thanks @godanny86!
We are aware that there is the aem-project-archetype. We tried to align them as close as possible with restricted initial setup for SPA.
ui.apps defines a restricted set of components page, app and text which proxy the core components. Additionally the page component differs in case you use react or angular as frontend. This is the use case here. Without the frontend module you would see an empty page.
The core bundle currently needs to provide the HierarchyPage implementation to be able to extend the SPA required model. We are currently in the process to integrate this extension in the core components so there is no need for a core bundle to be provided.
Lydia :)
Can you please elaborate and clarify your sentence: When not directly related to SPA capabilities, established conventions of the aem-project-archetype should be used.
What do you think we are missing in the archetpye for the dedicated usecase SPA?
Lydia
from aem-spa-project-archetype.
Hi @lydiapuric! I'm just saying there doesn't appear to be a need for the All-in-one module and that when in doubt the conventions established by the aem-project-archetype should be used. The aem-project-archetype also includes a core module which includes some sample Java code and this is embedded in the ui.apps module. I'm still not seeing the need for the All-in-one module?
from aem-spa-project-archetype.
Another convention commonly used is to have an autoInstallBundle
profile to deploy just the Core bundle to a local AEM instance...however this appears to be missing as well?
from aem-spa-project-archetype.
The main reason for an All-in-one package was to restrict the show case for SPA.
While the aem-project-archetype will contain different modules to be shown as best cases for new AEM projects, the spa archetype restricts the use case for SPA to get a smooth start. The SPA archetype can be integrated into an existing AEM project to start without distraction and to understand what has to be done.
The profile autoInstallPackage
handles the bundle case and is available in the core bundle. So yes, you are right, there might be something to sync with. Please feel free to open an issue for that.
from aem-spa-project-archetype.
Ah, ok. I hadn't thought of that use case. I would think that most SPA projects are stand-alone but makes sense I suppose. Will open a separate issue for the bundle. Thanks!
from aem-spa-project-archetype.
Thank you Daniel for your feedback! Resolving this issue.
from aem-spa-project-archetype.
Related Issues (20)
- Lighthouse checks with CircleCI
- The desired archetype does not exist (com.adobe.cq.spa.archetypes:aem-spa-project-archetype:1.0.5-SNAPSHOT) HOT 2
- Default app fails due to malformed url HOT 10
- Fix flaky tests on macOS CI HOT 1
- Update to use latest Core Components dependency HOT 1
- Typo in README
- Page with no extension is not rendered
- Update Jackson dependencies
- Angular Archetype discrepancies with Wknd Events code repo HOT 2
- The desired archetype does not exist (com.adobe.cq.spa.archetype:aem-spa-project-archetype:4.0.0 HOT 2
- [Angular] Authorable component does not refresh automatically when in AEM Edit mode HOT 5
- Text Component Fails to Render after upgrading to Angular 9
- Add a convenience NPM script to deploy the project into AEM locally HOT 1
- React Code splitting HOT 8
- wrong path of filter.xml in pom.xml HOT 2
- Doesn't work on IE 11 HOT 2
- Sling mapping url shortening support HOT 2
- React app does not load on publish instance due to HierarchyPageImpl HOT 3
- mvn test fails for newly generated project HOT 5
- SPA Principles in Multi Module Project? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aem-spa-project-archetype.