"cannot Use Import Statement Outside A Module" After Installing Babylonjs Using Npm
I've been trying to install babylonjs via npm. I've set up a new project and started with npm init. After that I installed babylonjs with npm install babylonjs --save according to
Solution 1:
I would recommend using the es6 packages, which fit better when using es6-style imports.
Here is the documentation:
https://doc.babylonjs.com/features/es6_support
Post a Comment for ""cannot Use Import Statement Outside A Module" After Installing Babylonjs Using Npm"