Skip to content

Commit 8ca6492

Browse files
committed
updated readme
1 parent e2e81c4 commit 8ca6492

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

README.md

+19-1
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,23 @@ php aritsan make:vue-component {name}
2727

2828
## Installation
2929

30-
> `laravel-vue-component-generator` package hasn't been released yet - stay tuned!
30+
```
31+
composer require suomato/laravel-vue-component-generator
32+
```
33+
> After that, add the ServiceProvider to the providers array in `config/app.php`
34+
35+
```
36+
Suomato\VueComponentGenerator\VueComponentGeneratorServiceProvider::class,
37+
```
38+
39+
> Enjoy using the new Artisan command.
40+
41+
## Config
42+
43+
> If you don't want to choose the same template engine and CSS Pre-processor over and over again or if you're not happy with the default boilerplate, feel free to edit config or views. To publish the config and views use:
44+
```
45+
php artisan vendor:publish --provider="Suomato\VueComponentGenerator\VueComponentGeneratorServiceProvider"
46+
```
3147

48+
- Config is located `/config/vue-component-generator.php`
49+
- Views is located `/resources/views/vendor/laravel-vue-component-generator`

composer.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,5 @@
2020
"psr-4": {
2121
"Suomato\\VueComponentGenerator\\": "src/"
2222
}
23-
},
24-
"minimum-stability": "dev"
23+
}
2524
}

0 commit comments

Comments
 (0)