lumen-vue-app
v1.0.1
Published
The Laravel Lumen Framework as backend API with Vue.js included
Readme
lumen-vue-app
This project is a basic lumen 5.8 app that contains a built in vue.js app (built with vue-cli 3.7.0).
Use the ./routes/web.php to add more php backend sites. All other traffic will be redirected to the vue app.
Important directory changes
Vue files are located in ./resources/js/vue
The "public" folder from vue is located in ./resources/static. All static assets will be moved to the ./public folder after npm run build
Project setup
npm install
composer installCompiles and hot-reloads for development
npm run serve (Vue.js development server)
php -S localhost:8000 -t public (PHP development server)Compiles and minifies for production
npm run buildRun your tests
npm run testLints and fixes files
npm run lint