coolui.min.js</span>
<span class="token keyword">import</span> coolui <span class="token keyword">from</span> <span class="token string">'my-cool-ui/package/coolui.min.js'</span>  

<span class="token comment">// 注入到vue</span>
Vue<span class="token punctuation">.</span><span class="token function">use</span><span class="token punctuation">(</span>coolui<span class="token punctuation">)</span>
</code></pre></div><h2 id="按需加载"><a href="#按需加载" aria-hidden="true" class="header-anchor">#</a