{"id":18408781,"url":"https://github.com/d2-projects/vue-filename-injector","last_synced_at":"2025-04-07T09:33:12.501Z","repository":{"id":47861628,"uuid":"199278254","full_name":"d2-projects/vue-filename-injector","owner":"d2-projects","description":"Inject the file path of .vue","archived":false,"fork":false,"pushed_at":"2023-01-07T08:11:25.000Z","size":136,"stargazers_count":7,"open_issues_count":5,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-04T20:53:40.071Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/d2-projects.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-07-28T11:23:14.000Z","updated_at":"2024-05-27T10:53:57.000Z","dependencies_parsed_at":"2023-02-06T15:45:58.372Z","dependency_job_id":null,"html_url":"https://github.com/d2-projects/vue-filename-injector","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d2-projects%2Fvue-filename-injector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d2-projects%2Fvue-filename-injector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d2-projects%2Fvue-filename-injector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d2-projects%2Fvue-filename-injector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d2-projects","download_url":"https://codeload.github.com/d2-projects/vue-filename-injector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247626600,"owners_count":20969333,"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-06T03:21:23.628Z","updated_at":"2025-04-07T09:33:12.181Z","avatar_url":"https://github.com/d2-projects.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue Filename Injector\n\nInject the file path of the `.vue` on `this.$options.__source`.\n\n## Install\n\n``` sh\nyarn add @d2-projects/vue-filename-injector -D\n```\n\nor\n\n``` sh\nnpm install @d2-projects/vue-filename-injector -D\n```\n\n## Usage\n\nOnly used for vue-cli3, `vue.config.js`:\n\n``` js\nconst VueFilenameInjector = require('@d2-projects/vue-filename-injector')\n\nmodule.exports = {\n\n  chainWebpack: config =\u003e {\n    // ...\n\n    // in here, only with chainWebpack\n    VueFilenameInjector(config, {\n      propName: '__source' // default\n    })\n\n  }\n}\n```\n\n## Relevant\n\nhttps://github.com/neutrinojs/webpack-chain\nhttps://vue-loader.vuejs.org/guide/custom-blocks.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd2-projects%2Fvue-filename-injector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd2-projects%2Fvue-filename-injector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd2-projects%2Fvue-filename-injector/lists"}