Skip to content

Commit

Permalink
Add dependencies to preset that would otherwise be installed by npm
Browse files Browse the repository at this point in the history
By adding Tailwind, vue, and vue-template-compiler as direct
dependencies of a freshly preset application, you won't need to run `npm
run dev` a second time.

Closes #41
  • Loading branch information
michaeldyrynda committed Feb 16, 2019
1 parent a89b5b1 commit 6daff3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/TailwindCssPreset.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ protected static function updatePackageArray(array $packages)
'laravel-mix' => '^4.0.14',
'laravel-mix-purgecss' => '^4.1',
'laravel-mix-tailwind' => '^0.1.0',
'tailwindcss' => '^0.7.4',
'vue' => '^2.5.17',
'vue-template-compiler' => '^2.6.4',
], Arr::except($packages, [
'bootstrap',
'bootstrap-sass',
Expand Down

0 comments on commit 6daff3e

Please sign in to comment.