{"id":18262861,"url":"https://github.com/midwayjs/vue-cli-plugin-faas","last_synced_at":"2025-04-09T01:24:42.942Z","repository":{"id":45242259,"uuid":"263808334","full_name":"midwayjs/vue-cli-plugin-faas","owner":"midwayjs","description":"Vue CLI Plugin For Midway FaaS","archived":false,"fork":false,"pushed_at":"2021-12-28T16:15:05.000Z","size":7,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-04-25T02:41:17.128Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/midwayjs.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-14T03:45:24.000Z","updated_at":"2020-10-14T14:37:01.000Z","dependencies_parsed_at":"2022-09-09T23:02:12.819Z","dependency_job_id":null,"html_url":"https://github.com/midwayjs/vue-cli-plugin-faas","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midwayjs%2Fvue-cli-plugin-faas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midwayjs%2Fvue-cli-plugin-faas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midwayjs%2Fvue-cli-plugin-faas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midwayjs%2Fvue-cli-plugin-faas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/midwayjs","download_url":"https://codeload.github.com/midwayjs/vue-cli-plugin-faas/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247954485,"owners_count":21024231,"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":[],"created_at":"2024-11-05T11:09:05.435Z","updated_at":"2025-04-09T01:24:42.926Z","avatar_url":"https://github.com/midwayjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg\n    width=\"280\"\n    src=\"https://user-images.githubusercontent.com/10298932/59419196-af91f800-8dca-11e9-9ea8-de5567e9e471.png\"\n    alt=\"\"\n  \u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eVue CLI Plugin With Midway FaaS Development\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003eThis plugin is meant to provide all \u003ca href=\"https://www.npmjs.com/package/@midwayjs/faas-dev-pack\"\u003e@midwayjs/faas-dev-pack\u003c/a\u003e options to vue-cli.\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/vue-cli-plugin-faas\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/vue-cli-plugin-faas.svg?style=flat-square\" alt=\"NPM Version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/vue-cli-plugin-faas\"\u003e\u003cimg src=\"https://img.shields.io/npm/dw/vue-cli-plugin-faas.svg?style=flat-square\" alt=\"NPM Downloads\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/assurance-maladie-digital/vue-cli-plugin-faas/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n## Installation\n\n``` bash\nyarn add vue-cli-plugin-faas\n# OR npm install vue-cli-plugin-faas\n```\n\n## Usage\n\n```js\n// vue.config.js\nmodule.exports = {\n  pluginOptions: {\n    faas: {\n      // ...\n    }\n  }\n}\n```\n\n## Options\n\nSee [midway faas dev pack](https://github.com/midwayjs/midway-faas/tree/master/packages/faas-dev-pack) for `options` object to pass to the plugin.\n\n### Object examples\n\n* default value, you can overwrite it.\n\n```js\n// vue.config.js\nmodule.exports = {\n  pluginOptions: {\n    faas: {\n      sourceDir: 'src/apis',\n      // ignore function name\n      ignoreWildcardFunctions: ['render'],\n      // ignore pattern\n      ignorePattern: (req) =\u003e {\n        const { pathname } = URL.parse(req.url);\n        return /\\.(js|css|map|json|png|jpg|jpeg|gif|svg|eot|woff2|ttf)$/.test(pathname);\n      }\n    }\n  }\n}\n```\n\n## License\n\nVue CLI Plugin FaaS is licensed under [MIT License](./LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmidwayjs%2Fvue-cli-plugin-faas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmidwayjs%2Fvue-cli-plugin-faas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmidwayjs%2Fvue-cli-plugin-faas/lists"}