-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathtemplate_stubs.php
68 lines (59 loc) · 1.36 KB
/
template_stubs.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
return [
/**
* Creates a vanilla js vue2 component
*/
'vue' => [
'stub' => 'vue-component.js',
'output_path' => resource_path('assets/js/components'),
],
/**
* Creates a basic react component
*/
'react' => [
'stub' => 'react-component.js',
'output_path' => resource_path('assets/js/components'),
],
/**
* Creates a .vue component
*/
'.vue' => [
'stub' => 'Component.vue',
'output_path' => resource_path('assets/js/components'),
],
/**
* Creates a basic jQuery encapsulation
*/
'jquery' => [
'stub' => 'jQuery.js',
'output_path' => resource_path('assets/js/components'),
],
/**
* Creates a basic es6 module
*/
'es6-module' => [
'stub' => 'es6-module.js',
'output_path' => resource_path('assets/js/components'),
],
/**
* Creates a basic blade view
*/
'blade' => [
'stub' => 'blade.blade.php',
'output_path' => resource_path('views'),
],
/**
* Creates a basic config file
*/
'config' => [
'stub' => 'config.php',
'output_path' => config_path(),
],
/**
* Creates a basic test file
*/
'basic-test' => [
'stub' => 'basic-test.php',
'output_path' => base_path('tests'),
],
];