cntabana / crud-vue
为 Inertia 创建 CrudVue
dev-master
2020-02-22 00:09 UTC
Requires
- laravel/framework: ^6.0
This package is auto-updated.
Last update: 2024-09-30 01:35:40 UTC
README
一个 Laravel 前端命令,将您的模型转换为 Vue 组件
安装
通过 composer 安装包
composer require cntabana/crud-vue
用法
inertia-vue
--model= : Specify the Model to convert to Vue (Note: Leaving this empty will generate views from all Models)
--path= : Specify the js path of pages (Default: resources/js/Pages)
--stub= : Specify the stub path (Default: package stub directory)
--data= : Whether or not the model data is accessesed through the `data` attribute (Default: false)
```"# crud-vue" git init git add README.md git commit -m "first commit" git remote add origin https://github.com/cntabana/crud-vue.git git push -u origin master
"# crud-vue"