I am not normally a javascript programmer. I just want to try three.js.Using Webstorm as my IDE I try the simplest example using the CDN reference, but Webstorm seems to have no concept of using a URL.
<script type="module">
import * as THREE from 'https://unpkg.com/three@0.126.1/build/three.module.js';
</script>
It flags the url as if it was a missing directory tree.
Previously I tried using npm to fetch three.js and while that worked for Webstorm to do code completion, it of course fails to work in a browser so I went down the road to Webpack, babel etc but that’s way too much effort just to try three.js. What is the simplest thing I can do just to try even the most basic example.