前端加载3d模型报错


Uncaught (in promise) Error: Module parse failed: Unexpected token (1:8)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)
    at ./src/assets/model/a.fbx

前端加载3d模型报错loader.load( require('@/assets/model/a.fbx')3d模型存在,路径正确为何报错

应该是不支持这个对应的文件类型,在webpack中需要对应的loader来处理。