'How to load .obj and .mtl in Vue.js 3

I have been trying to add .obj file to my vue application , but I have problem with the .obj itself. You can see in the following screenshot. Error screenshot here

I started searching through the internet , but could not find any solution to fix the problem. I personally tried multiple .OBJ loaders like webpack-obj-loader and some other , but the problems always come in ( Module parse failed: Unexpected character '#' ).

Deleting the # lines does not change anything at all, any ideas or solutions guys ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source