Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chenhunghan authored Jan 12, 2024
1 parent c884bf1 commit 4342f78
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,20 @@ export default defineConfig({
plugins: [vue(), vitePluginTrunk()],
})
```

### With tailwind

Follow <https://tailwindcss.com/docs/guides/vite> and include `.rs` in your `./tailwind.config.js`
```js
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx,rs}", // include rs!
],
theme: {
extend: {},
},
plugins: [],
}
```

0 comments on commit 4342f78

Please sign in to comment.