BabylonReactNative icon indicating copy to clipboard operation
BabylonReactNative copied to clipboard

Include in documentation how to use loaders

Open mart-so opened this issue 3 years ago • 4 comments

When I try to set the camera Im getting this: Module parse failed: Unexpected token (14:28) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.

Would be nice to import the library and just use it... Or if another thing is needed for use, then include this in documentation. I have been trying with multiple webpack configs, and nothing work

Captura de Pantalla 2022-08-02 a la(s) 10 43 34

Captura de Pantalla 2022-08-02 a la(s) 10 39 10

Can u suggest me a configuration for webpack?

mart-so avatar Aug 02 '22 13:08 mart-so

Webpack? On React Native?

gomes042 avatar Aug 02 '22 14:08 gomes042

I couldn't understand if you want to use Babylon on the web or React Native

gomes042 avatar Aug 02 '22 14:08 gomes042

React Native is intended for mobile apps (Android / IOS), if your need is just web (browser) you don't need to use @babylonjs/react-native module

gomes042 avatar Aug 02 '22 14:08 gomes042

@mart-so I'm not sure I understand the issue. The title references loaders, but the code doesn't have any loader code. Maybe we can start this investigation on the forum to confirm there is an actual problem?

bghgary avatar Aug 05 '22 22:08 bghgary

Closing due to lack of activity. Please use the forum to confirm the problem.

bghgary avatar Dec 01 '22 19:12 bghgary