Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

install tailwindcss using npm

Black Baboon answered on September 14, 2020 Popularity 9/10 Helpfulness 4/10

Contents


More Related Answers

  • @tailwindcss/forms npm
  • how to install tailwind for react
  • Install Tailwind CSS with Vite
  • install tailwind
  • Tailwindcss cli
  • tailwind css installation
  • how to install tailwind css in html
  • commmand for installing tailwind to react
  • react tailwindcss install
  • install tailwind css
  • install tailwind in react
  • tailwind install
  • install tailwind
  • install tailwind
  • react tailwind css components npm
  • install tailwind react
  • tailwind install
  • installation tailwind css in html
  • react tailwind css components npm
  • tailwind installation
  • Install tailwind
  • How to install tailwindcss in astro js

  • install tailwindcss using npm

    0

    install tailwindcss using npm

    Popularity 9/10 Helpfulness 4/10 Language css
    Source: medium.com
    Link to this answer
    Share Copy Link
    Contributed on Apr 05 2023
    Black Baboon
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    2

     terminal 

    Popularity 10/10 Helpfulness 8/10 Language whatever
    Tags: npm
    Link to this answer
    Share Copy Link
    Contributed on Apr 14 2023
    Praise Owode
    0 Answers  Avg Quality 2/10

    1
    Popularity 10/10 Helpfulness 7/10 Language css
    Tags: css
    Link to this answer
    Share Copy Link
    Contributed on Sep 14 2020
    Combative Capuchin
    0 Answers  Avg Quality 2/10

    1
    Popularity 10/10 Helpfulness 5/10 Language shell
    Source: Grepper
    Tags: shell shel
    Link to this answer
    Share Copy Link
    Contributed on Mar 27 2022
    Daneric
    0 Answers  Avg Quality 2/10

    3
    Popularity 10/10 Helpfulness 5/10 Language whatever
    Tags: npm
    Link to this answer
    Share Copy Link
    Contributed on Mar 30 2022
    Frantic Fowl
    0 Answers  Avg Quality 2/10

    0
    Popularity 9/10 Helpfulness 4/10 Language whatever
    Source: flowbite.com
    Link to this answer
    Share Copy Link
    Contributed on Apr 02 2023
    Faaa Hajlaoui
    0 Answers  Avg Quality 2/10

    -1
    Popularity 10/10 Helpfulness 4/10 Language css
    Source: raybo.org
    Tags: css
    Link to this answer
    Share Copy Link
    Contributed on Jan 10 2022
    Sparkling Snake
    0 Answers  Avg Quality 2/10

    1

    //Terminal***********


    npm install -D tailwindcss OR all at once with npm install -D tailwindcss autoprefixer

    THEN

    npx tailwindcss init


    //Add the paths to all of your template files in your tailwind.config.js file.***********


    /** @type {import('tailwindcss').Config} */

    module.exports = {

    content: ["./src/**/*.{html,js,jsx}"],   ....comma separated file types

    theme: {

    extend: {},

    },

    plugins: [],

    }


    //Add the Tailwind directives to your CSS***********


    @tailwind base;

    @tailwind components;

    @tailwind utilities;


    //Terminal - Start the Tailwind CLI build process....Per docs...Haven't used myself***********

    npx tailwindcss -i ./src/input.css -o ./dist/output.css --watch


    //You're ready to use! If you want to use postcss, in Terminal***********

    npm install -D postcss-import


    //postcss.config.js file

    module.exports = {

    plugins: {

    'postcss-import': {},

    tailwindcss: {},

    autoprefixer: {},

    }

    }


    Source: https://tailwindcss.com/docs/using-with-preprocessors#using-post-css-as-your-preprocessor


    https://tailwindcss.com/docs/installation

    Popularity 10/10 Helpfulness 3/10 Language whatever
    Source: Grepper
    Tags: javascript j
    Link to this answer
    Share Copy Link
    Contributed on Mar 13 2023
    Hapless Hacker
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.