<span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>
</code></pre></div><p>代码在这里就已经改造完成,接下来执行打包命令,构建我们的front版本</p> <div class="language-shell extra-class"><pre class="language-shell"><code><span class="token function">yarn</span> build
</code></pre></div><p>以上命令会在dist目录生成编译好的文件,文件结构如下：</p> <p><img sr