P粉3114235942023-09-03 15:11:37
I strongly recommend using babel or webpack. No matter which one you choose, there's a steep learning curve, so you should start using one while you're at it rather than developing bad habits later.
Using babel/webpack has many advantages over using CDN. Refer to this article (it also works with babel): https://webpack.js.org/concepts/why-webpack/