例如在 Code 文件里面有 N 个Laravel 文件夹如何配置 homestead.yaml,
是每个Laravel 文件夹里面新建个Homestead 文件吗
例如在 Code 文件里面有 N 个Laravel 文件夹如何配置 homestead.yaml,
是每个Laravel 文件夹里面新建个Homestead 文件吗
大概是这样样子:
sites:
- map: packages.dev
to: /home/vagrant/Code/package-series/public
- map: packages-test.dev
to: /home/vagrant/Code/package-series-dev/public
- map: zhihu-local.dev
to: /home/vagrant/Code/zhihu-dev/public
- map: zhihu.dev
to: /home/vagrant/Code/zhihu-app/public
每个域名就多加一个 map 和 to,然后执行:vagrant reload --provision