Skip to content
/ vuepack Public
forked from egoist/vuepack

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

License

Notifications You must be signed in to change notification settings

nevinm/vuepack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vuepack

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

Before getting started

If you have been suffering from configuration hell, give vbuild a chance. vbuild is 100% compatible with this template.

Features

Check out the docs for more usages.

Get Started

You'd better have node >=4 and npm >=3 installed:

$ npm install -g vue-cli
$ vue init egoist/vuepack new-project
$ cd new-project
$ npm install

# edit files and start developing
$ npm run dev
# bundle all scripts and styles for production use
$ npm run build

# lint your code
$ npm run lint

For Windows users

Install git with unix tools before getting started.

Folder Structure

If you did not enable Eletron 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]   
├── 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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 84.5%
  • Vue 9.9%
  • CSS 4.1%
  • HTML 1.5%