When putting the model under the public directory and importing the gltf/glb file, public cannot be added in front of the path, otherwise the error shown in the title will be reported. The import method is as shown in the figure below:
When putting the model under the public directory and importing the gltf/glb file, public cannot be added in front of the path, otherwise the error shown in the title will be reported. The import method is as shown in the figure below: