adobe / aem-spa-project-archetype

Maven Archetype for creating new AEM SPA projects
Apache License 2.0
61 stars 32 forks source link

[React] Support quick syncing to AEM #64

Closed ittaibaratz closed 4 years ago

ittaibaratz commented 5 years ago

If I want to test my app in AEM, currently I have to run Maven at the top folder which completes in about 2 minutes.

As a Frontend developer, I want to be able to quickly synchronize the app into AEM without having to go through Maven. The workflow is going to be as simple as:

  1. "npm run sync" - This will run a listener which will watch the aem folder for changes
  2. "npm run build" - In order to build the app. This takes time but still much faster than running Maven.

Pull request coming shortly.

godanny86 commented 5 years ago

@ittaibaratz while not exactly the same, there is the option of proxying the JSON from AEM and using the webpack dev server...

ittaibaratz commented 5 years ago

@ittaibaratz while not exactly the same, there is the option of proxying the JSON from AEM and using the webpack dev server...

That's what I am doing, however I keep running into areas where the app renders differently inside the aem author and that ends up consuming a lot of my time. I already put a PR to show how this can be done very easily.

godanny86 commented 5 years ago

understood @ittaibaratz. Curious to know what areas of the app renders differently inside AEM author as that hurts the value prop of the feature and would be good for customers to watch out for.

habansal commented 4 years ago

Closing this issue, as it's already fixed and the PR merged