verzatiletom/vcomponent
Composer 安装命令:
composer require verzatiletom/vcomponent
包简介
A simple vue component generator using make:v-component artisan command in Laravel.
README 文档
README
A simple vue component generator using make:v-component artisan command in Laravel.
Installation
composer require verzatiletom/vcomponent
For Laravel 5.4 and below, paste this to your config/app.php inside your providers array.
Verzatiletom\Vcomponent\VcomponentServiceProvider::class
Usage
php artisan make:v-component {name} {--dir}
Example
php artisan make:v-component DemoComponent
It will generate a DemoComponent.vue file in the resources/assets/js directory by default.
Specify the location
php artisan make:v-component DemoComponent --dir js/components
By specifying the --dir option, it will generate your .vue file on the your specified directory. In this example, it will generate your vue component in assets/js/components directory.
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-03-22