# 剪辑小程序管理后端 ### 跨域 ``` 文件 config/plugin/linfly/annotation/route.php 新增内容 use Webman\Route; // 匹配所有options路由 Route::options('[{path:.+}]', function (){ return response('',204); }); ``` ### 安装 ```angular2html composer install ``` ### 版本要求 ```angular2html php >= 8.1 ``` ### 运行 ```angular2html php windows.php start ``` ### 报错解决 ```angular2html 首次安装后运行报错,删除 /app/command/ShopwwiAuthCommand.php 文件 ``` ### 生成Model指令 ```angular2html php webman model:all ``` ### 路由 ```angular2html 文档: https://www.workerman.net/plugin/99 ```