Only load what you need with Drupal 8 Libraries

Drupal Camp Asheville 2024 - July 12th-14th

Room
410
Start Time

Topics

Presenter(s)

Zack Hawkins
of
Mediacurrent

Gone are the days of having one massive JavaScript or CSS file. In this session we'll explore using libraries to conditionally load assets and resolve dependencies.

We'll cover the following topics:

  • Introduction to libraries in Drupal 8.
  • Library options and configuration.
  • What a component based workflow looks like with libraries.
  • Code splitting with Webpack and libraries.
  • Library gotchas and things to be aware of.

The ideal audience member is a front-end developer that has either never heard of, or is interested in Drupal 8 Libraries. We'll also cover more advanced approaches for people with modern JavaScript workflows. A basic understanding of Drupal theming may be helpful but is not required.