Integrating AMD/require.js modules inside a Vue Single File Component

Hi there,

I’m working in a Vue CLI 3 project and I want to integrate a legacy HTML application which uses AMD/require.js modules. Specifically this legacy HTML application has an entry JS file which defines a “require” block and several JS modules containing the “define” block. There is no NPM equivalent module so I cannot do “npm install xxxx”.

Following these instructions,, I installed require.js in Node but no success. Is there a Vue or Webpack way to integrate this legacy code?

Thanks in advance!