title: How to add a public directory in vitejs configuration file
body: <p>I have a folder (named <code>assets</code>) with pictures, pdf files and 3d models that I want to include in the public static path at <code>dist</code> directory after building with Vite.js.</p>
  <p>I am using this code for the <code>vite.config.js</code>:</p>
  <pre><code>  export default {
      pulicDir: './assets'
    }
  </code></pre>
  <p>However after building, the files are not copied to de <code>dist</code> folder. When I run vite serve the website works, but I get &quot;not found error&quot; for all the files that should've been in that public folder.
  Thanks a lot for the help.</p>