(window.webpackJsonp=window.webpackJsonp||[]).push([[111],{441:function(s,t,a){"use strict";a.r(t);var n=a(3),e=Object(n.a)({},(function(){var s=this,t=s._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":s.$parent.slotKey}},[t("h1",{attrs:{id:"module-的加载实现"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#module-的加载实现"}},[s._v("#")]),s._v(" Module 的加载实现")]),s._v(" "),t("p",[s._v("上一章介绍了模块的语法,本章介绍如何在浏览器和 Node.js 之中加载 ES6 模块,以及实际开发中经常遇到的一些问题(比如循环加载)。\n")]),s._v(" "),t("h2",{attrs:{id:"浏览器加载"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#浏览器加载"}},[s._v("#")]),s._v(" 浏览器加载")]),s._v(" "),t("h3",{attrs:{id:"传统方法"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#传统方法"}},[s._v("#")]),s._v(" 传统方法")]),s._v(" "),t("p",[s._v("HTML 网页中,浏览器通过"),t("code",[s._v("