Add the below object to the script list at app.head.script
inside your nuxt.config
file (nuxt.config.ts
or nuxt.config.js
, whichever applies to your case).
*/
{ src: 'https://unpkg.com/@lottiefiles/lottie-player@2.0.2/dist/lottie-player.js' }