-
I want to use Panda CSS recipes only in the specific directory. Is there a good way to do it? // panda.config.ts
export default defineConfig({
preflight: true,
include: ["src/ui/components/**/*.{js,jsx,ts,tsx}"],
exclude: [],
theme: {
extend: {
recipes: {
checkbox: checkboxRecipe,
},
},
},
outdir: "./src/ui/styled-system",
}) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
for future folks stumbling on that issue: this is expected, recipe are JIT generated
https://panda-css.com/docs/concepts/recipes#using-the-recipe-1 you need to either:
|
Beta Was this translation helpful? Give feedback.
for future folks stumbling on that issue: this is expected, recipe are JIT generated
https://panda-css.com/docs/concepts/recipes#using-the-recipe-1
you need to either:
cva
that will always be generated, produces atomic classNamesconfig.staticCss
https://panda-css.com/docs/guides/static#generating-recipes