title: How do I add tailwindcss to vite?
body: <p>I'm using <a href="https://github.com/vuejs/vite" rel="noreferrer">vite</a> <code>0.16.6</code> and wanted to migrated a vuepress site to using vite.</p>
  
  <p>However I was unsure how to configure vite to using tailwindcss.</p>
  
  <p>in my <code>index.css</code></p>
  
  <pre><code>@tailwind base;
  @tailwind components;
  @tailwind utilities;
  
  #app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin-top: 60px;
  }
  </code></pre>