* * Experimental Project **https://github.com/zgldh/vuejs-laravel a single-page Web APP combined with some of the coolest gadgets of the moment. # Vuejs-laravelvuejs + webpack + semantic-ui + laravel-fast development framework for separation before and after. -An account system with Laravel basis. -Front-end single-page Web application-Webpack build front page-use Babel to support ecmascript6-single-file component using Vue-use ' http-proxy ' to solve cookie problems in development mode with the front and back end. # # install 1. Clone Code 2. Install background "CD backend composer install//https://laravel.com/docs/5.2 PHP artisan Key:genera Te php artisan migrate ' 3. Configuring the Web server requires support for more than PHP5.6. For example, the domain name is ' vuejs-laravel '. The server root is configured under the project's ' Public ' directory. (* * Be careful not to ' backend/public ' * *) 4. Install the front "CD frontend npm Install" ' 5. Configure the foreground background agent. Open ' frontend/build/dev-server.js ' and modify the variable ' Devbackenddomain ' to the third step of the domain name. 6. # # development ' CD frontend npm run dev ' then access http://localhost:8080 ' frontend/src ' directory contains the front-end code. The code changes can be reflected in the browser in real time, I think I can't understand it. The "backend" directory is the typical laravel backend code # # release ' CD frontend NPM run Build ' and then the compiled front-end code appears in the ' Public ' directory. Visit your local Web server to browse. # # # Reference-Laravel: [http://www.laravel.com] (http://www.laravel.com)-Vuejs: [http://www.vuejs.org] (http://www.vuejs.org)-Webpack: [Http://webpack.github.io] ( Http://webpack.github.io)-Semantic-ui: [http://semantic-ui.cn] (http://semantic-ui.cn) to be continued