title: How to solve the problem of building elementUI woff and ttf 404
body: <pre><code>&quot;element-ui&quot;: &quot;^2.4.5&quot;
  
  $--font-path: '~element-ui/lib/theme-chalk/fonts';
  
  @import '~element-ui/packages/theme-chalk/src/index';
  </code></pre>
  <p><a href="https://i.stack.imgur.com/pLoXF.png" rel="nofollow noreferrer">example</a></p>
  <p>in vue-cli3.x</p>