{"id":16194206,"url":"https://github.com/ndabap/vuex-cli-scaffold","last_synced_at":"2025-03-19T04:30:45.351Z","repository":{"id":94724431,"uuid":"101169763","full_name":"ndabAP/vuex-cli-scaffold","owner":"ndabAP","description":"NOT MAINTAINED Scaffold vuex actions, mutations, getters and the state","archived":false,"fork":false,"pushed_at":"2020-07-15T20:40:01.000Z","size":113,"stargazers_count":16,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T13:50:26.298Z","etag":null,"topics":["cli","scaffold","vue","vuex"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/vuex-cli-scaffold","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/ndabAP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-08-23T10:50:47.000Z","updated_at":"2025-02-28T03:02:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec965349-cae7-404e-9aca-7e28e058f8d7","html_url":"https://github.com/ndabAP/vuex-cli-scaffold","commit_stats":{"total_commits":18,"total_committers":4,"mean_commits":4.5,"dds":0.6111111111111112,"last_synced_commit":"97096c47669fa15dada7150637d582745b2d5a2c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndabAP%2Fvuex-cli-scaffold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndabAP%2Fvuex-cli-scaffold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndabAP%2Fvuex-cli-scaffold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndabAP%2Fvuex-cli-scaffold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ndabAP","download_url":"https://codeload.github.com/ndabAP/vuex-cli-scaffold/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244357410,"owners_count":20440323,"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":["cli","scaffold","vue","vuex"],"created_at":"2024-10-10T08:18:27.850Z","updated_at":"2025-03-19T04:30:45.068Z","avatar_url":"https://github.com/ndabAP.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NOT MAINTAINED vuex-cli-scaffold\n\nGenerating module entities for your Vue.js store is repetitive and verbose. This packages lets you create one or \nmultiple entities at once including the state, mutations, actions, getters, the module itself and even the store. You \ncan also create nested entities.\n\n**Warning**: At the moment, it does not work with Yarn.\n\n## Features\n\n- Multiple entities\n- nested entities\n- includes all Vuex elements\n\n## Installation\n\n```bash\n$ npm install vuex-cli-scaffold --save-dev\n```\n\n## Usage\n\nBy default, this package assumes that you'll have your modules stored at `src/store/modules` and the store itself at \n`src/store/index.js`. To change the modules directory, simply append `modules=path` where `path` starts from your \napplications root directory.\n\n### Create entity\n\nTo create an entity, simply type this into the console.\n\n```bash\n$ npm run vuex-cli-scaffold product\n```\n\nThis will create all necessary module files at `src/store/modules` including the state, mutations, actions, getters and \nthe module.\n\n### Create multiple entities\n\nTo create multiple entities, type this into the console.\n\n```bash\n$ npm run vuex-cli-scaffold product shop basket\n```\n\n### Nested entity\n\nYou can even create nested entities.\n\n```bash\n$ npm run vuex-cli-scaffold shop shop/products shop/products/product\n```\n\n**Important**: When you creating nested entities, you have to manually set the modules value in the parent modules. In \nour case, you would need to set the modules for all entities, unless you're using `-new`, which is explained below. \n\n### Initialize store\n\nIf you start from zero, you can create a store next to other entities.\n\n```bash\n$ npm run vuex-cli-scaffold shop shop/products shop/products/product -new\n```\n\nAll root entities will be added to the store. In our case the only root entity is `shop`.\n\n## Author\n\n[Julian Claus](https://www.julian-claus.de) and contributors.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndabap%2Fvuex-cli-scaffold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndabap%2Fvuex-cli-scaffold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndabap%2Fvuex-cli-scaffold/lists"}