three.js forum
Cannot import examples: "SyntaxError: Cannot use import statement outside a module"
Questions
es6
,
import
nearoo
June 16, 2020, 3:16pm
3
Turns out it was a bad boilerplate. Switching to
electron-forge
solved the problem.
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Cannot use import statement outside a module
Questions
modules
4
10459
June 7, 2024
GLTF Loader Import causes three.module.js to fail importing
Questions
import
,
gltf-loader
3
2376
December 20, 2019
Why can't I use my imported Three.js scripts?
Questions
javascript
2
3001
September 23, 2019
How to import OBJ using OBJLoader2
Questions
modules
2
1925
June 6, 2020
Importing Three.js as module
Questions
modules
,
import
24
39180
January 19, 2023