Difference between require() and await import()

后端 未结 0 1845
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-03 14:27

I would like to know the difference between require(x) and await import(x) in terms of code splitting and lazy loading. Are they both the same? If yes,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题