Creating the Clientlibs Structure (CSS and Javascript)

From Basef
Jump to: navigation, search

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.

Client-side-libsorgv2.png

Example:

Arquivo:Wknd-sites-clientlibs-chapter-3.zip