class"><pre class="language-text"><code>npm install my-cool-ui --save
</code></pre></div><h2 id="全局使用"><a href="#全局使用" aria-hidden="true" class="header-anchor">#</a> 全局使用</h2> <ul><li>在main.js中引入</li></ul> <div class="language-js extra-class"><pre class="language-js"><code><span class="token comment">// 引入全局css</span>
<span class="token keyword">import</span> <span class="token string">'my-cool-ui/package/coolui.min.css'</span>  

<span class="token comment">// 引入