首先js是脚本语言:即边执行边编译的解析执行语音
其次:目前环境不支持es6的语法(import)
所有ES6模块是编译时加载意味着两个意思
1.将es6语法通过webpack构建工具转为es5
2.js是脚本语言:即边执行边编译的解析执行语音
3.模块之间的依赖关系,在运行之前(即编译时)就通过静态分析来确定好了的
// ES6模块
import {stat, exists, readFile} from 'fs';
如上列子:其fs模块在编译时已确定依赖关系,在运行时引入
Hi there this is kind of of off topic but I was wanting to know if blogs use WYSIWYG editors or if you have to
manually code with HTML. I’m starting a blog soon but have no coding experience so I wanted to
get guidance from someone with experience. Any help would be enormously appreciated!
my website :: RoyalCBD.com