vagrant plugin install vagrant-winnfsd
修改如下:
config.vm.synced_folder ".", "/vagrant", type: "nfs" end
cmd命令下切换到vagrant虚拟机工作目录下,然后输入
vagrant reload