Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.

Commit ffde7d9

Browse files
committed
Fixes
1 parent 83312de commit ffde7d9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ composer require torrix/laravel-ui-uikit
4141
2. Run the artisan command to install the preset into your Laravel install. It will ask you if you'd like to overwrite welcome.blade.php. As long as you haven't started changing your blade files, this is fine to proceed with:
4242

4343
```
44-
php artisan ui uikit vue --auth
44+
php artisan ui uikit --auth
4545
```
4646

4747
3. Finally, run NPM to download UIkit, and build your assets using Laravel Mix:

src/UiCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function handle()
3737
return call_user_func(static::$macros[$this->argument('type')], $this);
3838
}
3939

40-
if (! in_array($this->argument('type'), ['bootstrap', 'vue', 'react'])) {
40+
if (! in_array($this->argument('type'), ['uikit', 'bootstrap', 'vue', 'react'])) {
4141
throw new InvalidArgumentException('Invalid preset.');
4242
}
4343

@@ -69,6 +69,7 @@ protected function bootstrap()
6969
protected function uikit()
7070
{
7171
Presets\Uikit::install();
72+
Presets\Vue::install();
7273

7374
$this->info('UIkit scaffolding installed successfully.');
7475
$this->comment('Please run "npm install && npm run dev" to compile your fresh scaffolding.');

0 commit comments

Comments
 (0)