1. 程式人生 > >Vue中的懶載入和按需載入

Vue中的懶載入和按需載入

{test: /iview.src.*?js$/</span>, <span class="hljs-attr">loader</span>: <span class="hljs-string">'babel'</span> },</div></div></li><li><div class="hljs-ln-numbers"><div class="hljs-ln-line hljs-ln-n" data-line-number="4"></div></div><div class="hljs-ln-code"><div class="hljs-ln-line"> {<span class="hljs-attr">test</span>: <span class="hljs-regexp">/\.js$/
, loader: 'babel', exclude: /node_modules/ }