STLLoader in Vue.js Error

I can load your file without the mentioned error with the latest version of STLLoader.

I suggest you stop using unofficial npm packages like three-full and three-stl-loader and use the official modules from the three npm package instead. As mentioned in the following guide (section Importable Examples) all frequently used classes from the examples directory are available as ES6 modules.

https://threejs.org/docs/index.html#manual/en/introduction/Import-via-modules

Also related: Many new modules with three.js R105