vuepack下载 - 一款Vue 2,Vuex,Vue-router和Webpack 2(或者是Electron)的现代构建器
2450 2020-02-16 JavaScript MIT 官方网站
vuepack一款Vue 2,Vuex,Vue-router和Webpack 2(或者是Electron)的现代构建器。
2450 2020-02-16 JavaScript MIT 官方网站
vuepack一款Vue 2,Vuex,Vue-router和Webpack 2(或者是Electron)的现代构建器。
v3.2.0.zip(v3.3.1) 下载
v3.1.1.zip(v3.3.1) 下载
v3.2.1.zip(v3.3.1) 下载
v3.3.1.zip(v3.3.1) 下载
v3.2.3.zip(v3.3.1) 下载
v3.3.0.zip(v3.3.1) 下载
v3.2.2.zip(v3.3.1) 下载
v3.1.0.zip(v3.3.1) 下载
v3.0.1.zip(v3.3.1) 下载
v3.0.0.zip(v3.3.1) 下载
v4.0.0-pre1.zip(v4.0.0-pre1) 下载
VuePack is a modern Vue.js starter
which uses Vue 2, Vuex, Vue-router and Webpack 2.
I highly recommend you to try 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, you can support my work by donating or joining the development.
Vue 2 / Vue-router / Vuex
Hot reloading for single-file components
Split vendor code from your app
Webpack 2
Electron support (optional)
CSS modules (optional)
A boilerplate which is small and focusing on client-side apps
Check out the docs for more usages.
You'd better have node >=4
and npm >=3
installed:
This template can be used with sao, which also means you can use the template offline:
npm i -g sao jstransformer-handlebars
# from npm
sao vuepack new-project
# or git repo
sao egoist/vuepack new-project
npm i -g @vue/cli @vue/cli-init
vue init egoist/vuepack
Install git with unix tools
before getting started.
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.
├── 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
You want to customize the output of index.html
, simply modify index.html, see more at html-webpack-plugin.
MIT © EGOIST