Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 975 Bytes

README.md

File metadata and controls

42 lines (31 loc) · 975 Bytes

Javascript Component Creator

It creates components of popular Javascript frameworks used with Laravel.

Setup

  composer require jscomp/creator

Examples

Vue Option Api Component

php artisan component:create FooComponent vue

Vue Composition Api Component

php artisan component:create BarComponent vue -C

React Component

php artisan component:create BazComponent react

Svelte Component

php artisan component:create ExampleComponent svelte

php artisan component:create <1:componentName> <2:libraryName> <--C|compositionApi>

Argument Descriptions

  • componentName: Name of component.
  • libraryName: The Javascript framework using.
  • compositionApi: If you are using vue js, if you do not specify --option it will create the option api component, if you use the --option it will create the composition api component