Question about Recipe in blitz.js?? #3757
Answered
by
MrLeebo
DataCrusade1999
asked this question in
Q&A
-
I want to use Recipe in blitz 2.0 but it isn't supported yet can anyone suggest me another way to install a recipe in a blitz if there is one, I'm trying to install tailwind. |
Beta Was this translation helpful? Give feedback.
Answered by
MrLeebo
Aug 19, 2022
Replies: 1 comment 1 reply
-
The recipes are fairly self-documenting, you can see the steps that the recipe is performing by looking at the code. https://github.com/blitz-js/legacy-framework/blob/main/recipes/tailwind/index.ts These steps are easy to perform manually:
yarn add tailwindcss@3 autoprefixer@10 postcss@8
# or
npm install tailwindcss@3 autoprefixer@10 postcss@8
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
DataCrusade1999
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The recipes are fairly self-documenting, you can see the steps that the recipe is performing by looking at the code. https://github.com/blitz-js/legacy-framework/blob/main/recipes/tailwind/index.ts These steps are easy to perform manually:
yarn add tailwindcss@3 autoprefixer@10 postcss@8 # or npm install tailwindcss@3 autoprefixer@10 postcss@8
postcss.config.js
andtailwind.config.js
into your project rootstyles/index.css
intoapp/core/
import 'app/core/styles/index.css';
import statement to your app