Open zshnb opened 5 months ago
What is your antdResetCssText ? Does it contains
@tailwind base;
@tailwind components;
@tailwind utilities;
?
What is your antdResetCssText ? Does it contains
@tailwind base; @tailwind components; @tailwind utilities;
?
yes, but I removed @tailwind base
Did you set prefix in tailwind.css.js ?
What is your antdResetCssText ? Does it contains
@tailwind base; @tailwind components; @tailwind utilities;
?
yes, but I removed @tailwind base
Did you set prefix in tailwind.config.js ?
Did you set prefix in tailwind.css.js ?
What is your antdResetCssText ? Does it contains
@tailwind base; @tailwind components; @tailwind utilities;
?
yes, but I removed @tailwind base
Did you set prefix in tailwind.config.js ?
no
Have you had the solution? I met the same issue
no still need @karthest help
Make sure that the location of your content.tsx
is included in the content
section of your Tailwind configuration. I've encountered a similar issue before, but this solved it.
module.exports = {
...
content: [
...
'./contents/**/*.{ts,tsx}',
],
...
Make sure that the location of your
content.tsx
is included in thecontent
section of your Tailwind configuration. I've encountered a similar issue before, but this solved it.module.exports = { ... content: [ ... './contents/**/*.{ts,tsx}', ], ...
thanks, I will try it
Make sure that the location of your
content.tsx
is included in thecontent
section of your Tailwind configuration. I've encountered a similar issue before, but this solved it.module.exports = { ... content: [ ... './contents/**/*.{ts,tsx}', ], ...
thanks, I will try it
Have you solve it. i cannot solve it use this method
Try adding the following code to content.ts
if it is not there.
import cssText from "data-text:~style.css"
export const getStyle = () => {
const style = document.createElement("style")
style.textContent = cssText
return style
}
https://docs.plasmo.com/framework/content-scripts-ui/styling#import-stylesheet
What happened?
I use antd and tailwindcss, this is my content script UI
I add ml-4 in Flex component, but I didn't see the effect.
Version
Latest
What OS are you seeing the problem on?
No response
What browsers are you seeing the problem on?
No response
Relevant log output
No response
(OPTIONAL) Contribution
Code of Conduct