Raw TailwindCSS on Fresh
npm:
import is supported, it can be used, but not with Deno Deploy. Therefore, Fresh uses Twind instead of TailwindCSS.
However, I was recently informed that npm:
import is now available in Deno Deploy!
I took advantage of that and wrote code to use raw TailwindCSS with Fresh.export default defineConfig({ plugins: [
And, create `tailwind.config.js` to project root.
```js:tailwind.config.js
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./**/*.{js,jsx,ts,tsx}',
],
}
This is OK!!There must be many other good things to do! (The day I write this, I can't write any more because I have a test tomorrow...)