jscomp/creator

There is no license information available for the latest version (v0.0.2) of this package.

v0.0.2 2022-12-28 21:36 UTC

This package is auto-updated.

Last update: 2024-09-09 17:59:13 UTC


README

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