{"id":13424153,"url":"https://github.com/egoist/vuepack","last_synced_at":"2025-05-15T01:06:38.101Z","repository":{"id":40395856,"uuid":"46028717","full_name":"egoist/vuepack","owner":"egoist","description":":package: A modern starter  which uses Vue 2, Vuex, Vue-router and Webpack 2 (and even Electron)","archived":false,"fork":false,"pushed_at":"2022-06-26T06:50:33.000Z","size":247,"stargazers_count":2417,"open_issues_count":38,"forks_count":202,"subscribers_count":47,"default_branch":"master","last_synced_at":"2025-04-13T22:39:38.674Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://vuepack.surge.sh","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/egoist.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2015-11-12T04:09:19.000Z","updated_at":"2025-03-30T00:43:26.000Z","dependencies_parsed_at":"2022-08-18T14:50:31.186Z","dependency_job_id":null,"html_url":"https://github.com/egoist/vuepack","commit_stats":null,"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fvuepack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fvuepack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fvuepack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fvuepack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egoist","download_url":"https://codeload.github.com/egoist/vuepack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254254041,"owners_count":22039792,"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-07-31T00:00:49.455Z","updated_at":"2025-05-15T01:06:38.010Z","avatar_url":"https://github.com/egoist.png","language":"JavaScript","funding_links":[],"categories":["Awesome Vue.js [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)","JavaScript","开发框架","脚手架","Components \u0026 Libraries","Scaffold","Awesome Vue.js","Scaffold [🔝](#readme)"],"sub_categories":["Libraries \u0026 Plugins","顾客","Scaffold","Client"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://cloud.githubusercontent.com/assets/8784712/25835478/ac71a54a-34b1-11e7-80f7-069d7022ade2.png\" alt=\"vuepack\" width=\"60\"\u003e\n  \u003cbr\u003e\u003cbr\u003e\u003cstrong\u003eVuePack\u003c/strong\u003e is a modern Vue.js starter \u003cbr\u003ewhich uses Vue 2, Vuex, Vue-router and Webpack 2.\n\u003c/p\u003e\n\n## Note\n\nI highly recommend you to try [Poi](https://github.com/egoist/poi), you can develop Vue.js app with no-config until you need it. Less boilerplate code, more happiness ❤️\n\nHere's the plan for [VuePack 4.0](https://github.com/egoist/vuepack/issues/136), you can support my work by [donating](https://github.com/egoist/donate) or joining the development.\n\n## Features\n\n- Vue 2 / Vue-router / Vuex\n- Hot reloading for single-file components\n- Split vendor code from your app\n- Webpack 2 (an update to Webpack 4 will be very soon)\n- [Offline Ready, perfect for progressive web app](/docs/pwa.md)\n- [ESLint](/docs/eslint.md)\n- [Babel 6](/docs/babel.md)\n- [PostCSS](/docs/postcss.md)\n- [JSX components are supported by default](/docs/jsx.md)\n- [TestCafe](/docs/testcafe.md) (optional)\n- [Electron support](/docs/electron.md) (optional)\n- [CSS modules](/docs/css-modules.md) (optional)\n- A boilerplate which is small and focusing on client-side apps\n\n\u003ch2\u003e\u003c/h2\u003e\n\nCheck out [the docs](https://github.com/egoist/vuepack/tree/master/docs) for more usages.\n\n## Get Started\n\nYou'd better have `node \u003e=10` and `npm \u003e=6` installed:\n\n## sao\n\nThis template can be used with [SAO](https://github.com/egoist/sao), which also means you can use the template offline:\n\n```bash\nnpm i -g sao jstransformer-handlebars\n# from npm\nsao vuepack new-project\n# or git repo\nsao egoist/vuepack new-project\n```\n\n## Vue CLI\n\nVue CLI (`vue-cli@2` or `@vue/cli@\u003e=3` + `@vue/cli-init`) is still supported, but it has been deprecated by Vue officially, so it is not recommended to use Vue CLI with Vuepack.\n```bash\nnpm i -g @vue/cli @vue/cli-init\nvue init egoist/vuepack\n```\n\n### For Windows users\n\nInstall `git with unix tools` before getting started.\n\n## Folder Structure\n\nIf you did not enable Electron support, the dest folder is `./dist`, otherwise it's `./app/dist`. \n\n`./app` folder only exists when you enabled Electron support.\n\n```bash\n├── app             # the actual app you want to bundle with Electron\n│    ├── dist       # directory which contains all bundled files\n│    └── index.js   # entry file for Electron\n├── build           # webpack configs and other scripts\n├── client          # client-side app files\n├── dist            # bundled files and index.html\n│    ├── index.html\n│    └── [...other bundled files]  \n├── tests           # e2e tests written by testcafe \n├── node_modules    # dependencies\n└── package.json    # package info\n```\n\n## Custom template\n\nYou want to customize the output of `index.html`, simply modify [index.html](https://github.com/egoist/vuepack/blob/master/template/build/index.html), see more at [html-webpack-plugin](https://github.com/ampedandwired/html-webpack-plugin).\n\n## License\n\nMIT \u0026copy; [EGOIST](https://github.com/egoist)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegoist%2Fvuepack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fegoist%2Fvuepack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegoist%2Fvuepack/lists"}