{"id":29269118,"url":"https://github.com/rufusmai/lumen-vue-cli","last_synced_at":"2025-07-04T20:07:30.878Z","repository":{"id":55515918,"uuid":"168963144","full_name":"rufusmai/lumen-vue-cli","owner":"rufusmai","description":"The Laravel Lumen Framework as backend API with Vue.js included","archived":false,"fork":false,"pushed_at":"2020-12-24T14:18:03.000Z","size":491,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-03T08:17:42.314Z","etag":null,"topics":["laravel","lumen","lumen-framework","lumen-php-framework","vue","vuejs"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rufusmai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-03T16:01:12.000Z","updated_at":"2023-10-07T03:05:43.000Z","dependencies_parsed_at":"2022-08-15T02:10:46.545Z","dependency_job_id":null,"html_url":"https://github.com/rufusmai/lumen-vue-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rufusmai/lumen-vue-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rufusmai%2Flumen-vue-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rufusmai%2Flumen-vue-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rufusmai%2Flumen-vue-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rufusmai%2Flumen-vue-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rufusmai","download_url":"https://codeload.github.com/rufusmai/lumen-vue-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rufusmai%2Flumen-vue-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263611900,"owners_count":23488429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel","lumen","lumen-framework","lumen-php-framework","vue","vuejs"],"created_at":"2025-07-04T20:07:30.085Z","updated_at":"2025-07-04T20:07:30.862Z","avatar_url":"https://github.com/rufusmai.png","language":"PHP","readme":"# lumen-vue-cli\n\nWant to use lumen but all the advantages of vue-cli even with hot reloading?\nHere you go! A lumen scaffolding with built-in vue-cli.\n\nThis project is a basic lumen `8.0` app,\ncreated using the [laravel/lumen](https://github.com/laravel/lumen) scaffolding.\nOn top Vue 3 is installed using vue-cli-service `~4.5.0` with `babel`, `eslint`, `vue-router` and `vue-axios`.\n\n## Install\n\nPlease verify the requirements for [lumen 8](https://lumen.laravel.com/docs/8.x/installation#installation)\nand [vue-cli](https://lumen.laravel.com/docs/8.x/installation#installation) first.\n\nInstall via composer:\n```\ncomposer create-project --prefer-dist rufusmaiwald/lumen-vue-cli site\n```\n*`site` is the dir name where the new project will be created in.*\n\nAfter installation download all npm dependencies:\n```\nnpm install\n```\n\n## Getting Started\n\n#### Source files\nThe typical vue-cli `src` directory was just moved to `./resources/js/vue`. So you can just use it as usual.\nAssets in `./resources/js/vue/assets` will be automatically resolved with `@/asset.img`.\n\n#### Static files\nAs vue-cli is now building your compiled source code and assets in your `./public` directory,\ndont put files in there.\nAll static files that you want to have in the `./public` directory are copied over\nfrom `./resources/static` on running `npm run build`.\n*You might remember this behaviour from the vue-cli `static` folder.*\n\n#### Build application\nUsing `npm run build` your vue-app will be compiled in the public folder and all static files will be copied over.\nThats it! Your app is ready to be served from `./public`.\n\n#### Development\nlumen-vue-cli uses the vue devServer proxy to allow all backend routes\nto be available from the frontend **only** via XHR/fetch requests.\nLearn more about devServer proxy [here](composer create-project --prefer-dist laravel/lumen blog).\nJust run `php artisan serve` and `npm run serve` and voila, your app should be up on `https://localhost:8080`.\n\u003e Using the vue-cli devServer, all vue front-end requests get not routed through lumen and associated middlewares.\n\u003e To test this behaviour just build the front-end using `npm run build` and run the lumen app using `php artisan serve`\n\n#### Views\n`./resources/js/vue/index.html` will be copied on build to `./resources/views/app.blade.php`.\nJust include the template in your route to return your vue app.\n\n\n### Customize Vue-Cli configuration\nSee [Configuration Reference](https://cli.vuejs.org/config/).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frufusmai%2Flumen-vue-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frufusmai%2Flumen-vue-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frufusmai%2Flumen-vue-cli/lists"}