tailwind-csslogfile

what does -D mean in npm install -D tailwindcss?


Installing TailWindCSS, the command in npm install -D tailwindcss, what does log-level info denotes? NPM- node package manager, D-log level info

I was trying to learn Tailwindcss and then encountered the command for installing the package


Solution

  • -D means that tailwind will be installed as a development dependency, so it will only be installed in development environments. It is the shorthand for --save-dev.