dimsey
dimsey
Explore posts from servers
PD🧩 Plasmo Developers
Created by dimsey on 9/27/2023 in #👾extension
Tailwinds with content.tsx
In content, you have to prefix the CSS with plasmo-[tailwinds], e.g.., plasmo-bg-red-500 instead of bg-red-500
7 replies
PD🧩 Plasmo Developers
Created by dimsey on 9/27/2023 in #👾extension
Tailwinds with content.tsx
Oh figured it out
7 replies
PD🧩 Plasmo Developers
Created by dimsey on 9/27/2023 in #👾extension
Tailwinds with content.tsx
One thing I will say is that this (https://github.com/PlasmoHQ/examples/tree/main/with-tailwindcss) does work. But curious as to why mine doesn't
7 replies
PD🧩 Plasmo Developers
Created by dimsey on 9/27/2023 in #👾extension
Tailwinds with content.tsx
this is my tailwinds.config btw
/** @type {import('tailwindcss').Config} */
module.exports = {
mode: "jit",
darkMode: "class",
content: ["./**/*.tsx"],
plugins: []
}
/** @type {import('tailwindcss').Config} */
module.exports = {
mode: "jit",
darkMode: "class",
content: ["./**/*.tsx"],
plugins: []
}
7 replies