Skip to content

Commit 4e48cf3

Browse files
committed
Update documentation.
1 parent 9e160a2 commit 4e48cf3

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
### Contents
99
- [Install](#install)
1010
- [Usage](#usage)
11+
- [Configuration](#configuration)
1112
- [Testing](#testing)
1213
- [Contributing](#contributing)
1314

@@ -75,6 +76,15 @@ php artisan vueg:mixin MyMixin --path=assets/js/custom/folder
7576
```
7677
Will create a file called MyMixin.vue at resources/assets/js/custom/folder/MyMixin.vue.
7778

79+
### Configuration
80+
Set default paths for components and mixins. All paths are relative to Laravel's resources directory.
81+
```php
82+
'paths' => [
83+
'components' => 'path/to/components',
84+
'mixins' => 'path/to/mixins',
85+
]
86+
```
87+
7888
### Testing
7989
```
8090
composer test

src/config.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
| Paths
77
|--------------------------------------------------------------------------
88
|
9-
| Register default paths for file types.
9+
| Register default paths for file types. All paths are relative to Laravel's
10+
| resources directory.
1011
*/
1112
'paths' => [
1213
'components' => 'assets/js/components',

0 commit comments

Comments
 (0)