接下来完成MVC最后一个组件的添加
https://packagist.org/
搜索view
这里多了一个依赖filesystem
和模型组件一样的套路
composer update
创建视图文件路径、编译视图文件路径、创建视图
使用组件
index.php
IndexController.php
welcome.blade.php
报错,路径问题,原来写成welcome.balde.php了。。
接下来完成MVC最后一个组件的添加
https://packagist.org/
搜索view
这里多了一个依赖filesystem
和模型组件一样的套路
composer update
index.php
IndexController.php
welcome.blade.php
报错,路径问题,原来写成welcome.balde.php了。。