{"id":23277650,"url":"https://github.com/aircity/vue-cli-plugin-env-yaml","last_synced_at":"2026-05-08T17:40:46.838Z","repository":{"id":57132635,"uuid":"152078426","full_name":"Aircity/vue-cli-plugin-env-yaml","owner":"Aircity","description":"vue-cli 3.x plugin to inject environment variables","archived":false,"fork":false,"pushed_at":"2018-10-09T03:38:03.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T19:03:10.091Z","etag":null,"topics":["env","vue","vue-cli","yaml"],"latest_commit_sha":null,"homepage":"","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/Aircity.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":"2018-10-08T12:44:58.000Z","updated_at":"2023-03-08T03:05:57.000Z","dependencies_parsed_at":"2022-08-24T22:51:09.360Z","dependency_job_id":null,"html_url":"https://github.com/Aircity/vue-cli-plugin-env-yaml","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aircity%2Fvue-cli-plugin-env-yaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aircity%2Fvue-cli-plugin-env-yaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aircity%2Fvue-cli-plugin-env-yaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aircity%2Fvue-cli-plugin-env-yaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aircity","download_url":"https://codeload.github.com/Aircity/vue-cli-plugin-env-yaml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478793,"owners_count":20945343,"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":["env","vue","vue-cli","yaml"],"created_at":"2024-12-19T22:13:38.696Z","updated_at":"2026-05-08T17:40:46.786Z","avatar_url":"https://github.com/Aircity.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-cli-plugin-env-yaml\n\nThis is a vue-cli 3.x plugin to inject environment variables.\n\n## Environment variables injection\n\nenv.yaml:\n\n```\nbaseURL:\n DEV: dev.org \n QA: qa.org \n PRD: prd.org\n```\n\nnpm run build\n\n```\nconsole.log(baseURL)\n// =\u003e dev.org\n```\n\nnpm run build:qa\n\n```\nconsole.log(baseURL)\n// =\u003e qa.org\n```\n\nnpm run build:prd\n\n```\nconsole.log(baseURL)\n// =\u003e prd.org\n```\n\n## Getting started\n\n:warning: Make sure you have vue-cli 3.x.x:\n\n```\nvue --version\n```\n\nIf you don't have a project created with vue-cli 3.x yet:\n\n```\nvue create my-new-app\n```\n\nNavigate to the newly created project folder and add the cli plugin:\n\n```\ncd my-new-app\nvue add @o3o/env-yaml\n```\n\nStart your app:\n\n```\nnpm run serve\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faircity%2Fvue-cli-plugin-env-yaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faircity%2Fvue-cli-plugin-env-yaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faircity%2Fvue-cli-plugin-env-yaml/lists"}