egoist/vuepack

πŸ“¦ A modern starter which uses Vue 2, Vuex, Vue-router and Webpack 2 (and even Electron)

JavaScript

2,389

139 commits

updated Jun 26, 2022

See the code

README

vuepack

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, 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.

Features

Check out the docs for more usages.

Get Started

You'd better have node >=10 and npm >=6 installed:

sao

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

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.

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.

β”œβ”€β”€ 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, see more at html-webpack-plugin.

License

MIT Β© EGOIST

egoist/vuepack

πŸ“¦ A modern starter which uses Vue 2, Vuex, Vue-router and Webpack 2 (and even Electron)

JavaScript

2,389

139 commits

updated Jun 26, 2022

See the code

README

vuepack

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, 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.

Features

Check out the docs for more usages.

Get Started

You'd better have node >=10 and npm >=6 installed:

sao

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

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.

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.

β”œβ”€β”€ 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, see more at html-webpack-plugin.

License

MIT Β© EGOIST

Project health

Overall

2.1/10

Maintained

0/10

Code review

1/10
OpenSSF Scorecard

Significant stargazers

Michael K.

71 followers Β· starred Dec 2018

Sarah Drasner

25,142 followers Β· starred Dec 2016

Thibaud frere

40 followers Β· starred Jul 2017

Peter Blackson

154 followers Β· starred Oct 2016