Skip to content

Question about Recipe in blitz.js?? #3757

Answered by MrLeebo
DataCrusade1999 asked this question in Q&A
Discussion options

You must be logged in to vote

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:

  • Install your dependencies
yarn add tailwindcss@3 autoprefixer@10 postcss@8
# or
npm install tailwindcss@3 autoprefixer@10 postcss@8
  • Copy the files from the templates/ folders into your project:
  1. copy postcss.config.js and tailwind.config.js into your project root
  2. copy styles/index.css into app/core/
  3. add the import 'app/core/styles/index.css'; import statement to your app

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DataCrusade1999
Comment options

Answer selected by DataCrusade1999
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants