Skip to content

Commit 6daff3e

Browse files
Add dependencies to preset that would otherwise be installed by npm
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
1 parent a89b5b1 commit 6daff3e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/TailwindCssPreset.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ protected static function updatePackageArray(array $packages)
3030
'laravel-mix' => '^4.0.14',
3131
'laravel-mix-purgecss' => '^4.1',
3232
'laravel-mix-tailwind' => '^0.1.0',
33+
'tailwindcss' => '^0.7.4',
34+
'vue' => '^2.5.17',
35+
'vue-template-compiler' => '^2.6.4',
3336
], Arr::except($packages, [
3437
'bootstrap',
3538
'bootstrap-sass',

0 commit comments

Comments
 (0)