JeffreyWay / laravel-mix-tailwind

mix.tailwind()
347 stars 25 forks source link

Updates README to install dependency as dev dep #3

Closed ghost closed 5 years ago

ghost commented 6 years ago

This commit fixes the directions for installing laravel-mix-tailwind and advises users to install the plugin as a development dependency.

etdte commented 6 years ago

What's the reason to install it as dev dependency? Lot of developers build their assets during deployment on production server, and so, only "dependencies" were installed, without dev part.

ghost commented 6 years ago

Laravel Mix itself is recommended to be installed as a dev dependency, see: https://github.com/JeffreyWay/laravel-mix/blob/master/docs/installation.md#stand-alone-project

The use of the regular dependencies is to build things that your application depends on to run.