As a newcomer to nuxt and javascript, I am grappling with the challenge of utilizing my app's dependencies on the client-side. These dependencies are listed in my nuxt.config.js file and installed via npm. Additionally, I have a file in the /plugins directory that imports them, but I'm unsure if this is the correct approach. The issue arises when I try to incorporate two scripts from my /static directory that require access to these npm packages. Attempting to use an import statement in those scripts results in errors, and importing the packages directly into the script section of the page's vue file also proves unsuccessful. How can I effectively leverage npm packages in client-side scripts included on pages?