Including a JS library

We have 2 ways now beyond just importing via CDN, and will have 3 ways in the future.

  1. Manage packages with npm, build with webpack, percel, and put the building assets under assets or static
  2. Manage packages with npm and build with Hugo’s js.Build
  3. Manage packages with Hugo Module and build with js.Build (future implementation)
4 Likes