Php Laravel vue js在live上部署应用程序
我已经使用vue js在laravel上创建了一个项目。其中,我的前端完全基于vue js,后端使用laravel API。我的项目结构如下:Php Laravel vue js在live上部署应用程序,php,laravel,vue.js,laravel-5,Php,Laravel,Vue.js,Laravel 5,我已经使用vue js在laravel上创建了一个项目。其中,我的前端完全基于vue js,后端使用laravel API。我的项目结构如下: --app --bootstrap --config --database --fontend //This is my vue js code -- assets -- layout -- mode_modules -- pages -- public -- resources 。。。等等 我已在前端文件夹上运行此命令 npm运行构建
--app
--bootstrap
--config
--database
--fontend //This is my vue js code
-- assets
-- layout
-- mode_modules
-- pages
-- public
-- resources
。。。等等
我已在前端文件夹上运行此命令
npm运行构建
它在前端创建了一个文件夹dist,现在下一步是什么
我的服务器信息Ubuntu(Apache)您只需将dist文件夹的内容复制到您的服务器主文件夹中,或者您的文件夹结构为public/www/web等文件夹,然后就可以了 如果您想在wamp或xamp上运行“live”,请复制到文件夹www 当然,如果你已经有工作的后端