Skip to content

Commit

Permalink
Updated tailwind docs
Browse files Browse the repository at this point in the history
  • Loading branch information
habubey committed Oct 10, 2023
1 parent fa9d1a3 commit d56297c
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions components/doc/tailwind/unstyledmode/setupdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,24 @@ export function SetupDoc(props) {
basic: `
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
darkMode: ["class"],
theme: {
extend: {},
},
plugins: [],
};
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
// Or if using \`\src\` directory:
"./src/**/*.{js,ts,jsx,tsx,mdx}",
],
darkMode: "class",
theme: {
extend: {},
},
plugins: [],
}
`
};
const code2 = {
basic: `
import { PrimeReactProvider } from "primereact/api";
import Tailwind from "primereact/passthrough/tailwind";
...
return(
Expand All @@ -37,7 +39,6 @@ return(
const code3 = {
basic: `
import { PrimeReactProvider } from "primereact/api";
import Tailwind from "primereact/passthrough/tailwind";
export default function MyApp({ Component }) {
Expand Down

0 comments on commit d56297c

Please sign in to comment.