This conversation has been locked due to inactivity. Please create a new post.
This conversation has been locked due to inactivity. Please create a new post.
Hello Everyone,
We have a project using the frontend module and we are using few resources for fonts. I see that they are in the dist folder but when clientlib generator moves the libs to ui.apps only css and js are being moved. I do see the config for clientlib.config.js which has the resources configured in there. did anyone see this issue before?
Thanks!
~Sandy
Solved! Go to Solution.
Views
Replies
Total Likes
@Sandy91 here's how the flow should be like:
Of course, all this can be automated when you are utilising the maven front-end plugin.
Look at the latest AEM Maven archetype project's example of how they've implemented "mvn build" automation with the front-end project. Running the build and deploy maven command will utilise the maven front-end plugin, which will automate the initiation of the webpack build command, and finally deploy ui.apps, and all necessary maven modules directly into your AEM environment. , https://github.com/adobe/aem-project-archetype/tree/master/src/main/archetype/all.
@Sandy91 here's how the flow should be like:
Of course, all this can be automated when you are utilising the maven front-end plugin.
Look at the latest AEM Maven archetype project's example of how they've implemented "mvn build" automation with the front-end project. Running the build and deploy maven command will utilise the maven front-end plugin, which will automate the initiation of the webpack build command, and finally deploy ui.apps, and all necessary maven modules directly into your AEM environment. , https://github.com/adobe/aem-project-archetype/tree/master/src/main/archetype/all.
Views
Replies
Total Likes
@Sandy91 Did you have any luck with the issue? I am noticing when running "npm run watch" command inside the ui.frontend directory, the /resources files are copied to the aem instance correctly, but then after making a change to any file under /webpack directory, and the build is re-triggered, the contents from /resources directory are not moved to the aem deployment package, and therefore are missing from aem.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies