Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
V

vuepack

> 编程语言
Open source

:package: A modern starter which uses Vue 2, Vuex, Vue-router and Webpack 2 (and even Electron)

2.4K stars0 likes1 views
WebsiteGitHub

About

:package: A modern starter which uses Vue 2, Vuex, Vue-router and Webpack 2 (and even Electron)



VuePack is a modern Vue.js starter
which uses Vue 2, Vuex, Vue-router and Webpack 2.

## Note I 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 ❤️ Here'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. ## Features - Vue 2 / Vue-router / Vuex - Hot reloading for single-file components - Split vendor code from your app - Webpack 2 (an update to Webpack 4 will be very soon) - [Offline Ready, perfect for progressive web app](/docs/pwa.md) - [ESLint](/docs/eslint.md) - [Babel 6](/docs/babel.md) - [PostCSS](/docs/postcss.md) - [JSX components are supported by default](/docs/jsx.md) - [TestCafe](/docs/testcafe.md) (optional) - [Electron support](/docs/electron.md) (optional) - [CSS modules](/docs/css-modules.md) (optional) - A boilerplate which is small and focusing on client-side apps

Check out [the docs](https://github.com/egoist/vuepack/tree/master/docs) for more usages. ## Get Started You'd better have `node >=10` and `npm >=6` installed: ## sao This template can be used with [SAO](https://github.com/egoist/sao), which also means you can use the template offline: ```bash npm i -g sao jstransformer-handlebars # from npm sao vuepack new-project # or git repo sao egoist/vuepack new-project ``` ## Vue CLI Vue CLI (`vue-cli@2` or `@vue/cli@>=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. ```bash npm i -g @vue/cli @vue/cli-init vue init egoist/vuepack ``` ### For Windows users Install `git with unix tools` before getting started. ## Folder Structure If you did not enable Electron support, the dest folder is `./dist`, otherwise it's `./app/dist`. `./app` folder only exists when you enabled Electron support. ```bash ├── app # the actual app you want to bundle with Electron │ ├── dist # directory which contains all bundled files │ └── index.js # entry file for Electron ├── build # webpack configs and other scripts ├── client # client-side app files ├── dist # bundled files and index.html │ ├── index.html │ └── [...other bundled files] ├── tests # e2e tests written by testcafe ├── node_modules # dependencies └── package.json # package info ``` ## Custom template You 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). ## License MIT © [EGOIST](https://github.com/egoist)

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言