Creating the Clientlibs Structure (CSS and Javascript)
De Basef
Client-Side Libraries provides a mechanism to organize and manage CSS and JavaScript files necessary for an AEM Sites implementation. The basic goals for client libraries or clientlibs are:
- Store CSS/JS in small discrete files for easier development and maintenance
- Manage dependencies on 3rd party frameworks in an organized fashion
- Minimize the number of client-side requests by concatenating CSS/JS into one or two requests
- Minify CSS/JS that is delivered to optimize speed/performance of a site
More information about using Client-Side Libraries can be found here.
Example: