Skip to content

shshaw/vue-webpack-wordpress

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

vue-webpack-wordpress

A simple Vue 2.0 Webpack & vue-loader setup for Wordpress Themes.

This template is Vue 2.0 compatible.

Usage

This is a project template for vue-cli.

$ npm install -g vue-cli
$ vue init shshaw/webpack-wordpress my-project
$ cd my-project/vue
$ npm install
$ npm run dev

What's Included

  • npm run dev: Webpack + vue-loader with proper config for source maps & hot-reload.

  • npm run build: build with HTML/CSS/JS minification.

For detailed explanation on how things work, consult the docs for vue-loader. Also check out the breaking changes in [email protected].

Fork It And Make Your Own

You can fork this repo to create your own boilerplate, and use it with vue-cli:

vue init username/repo my-project

About

Vue.js + Webpack template for Wordpress Themes with HMR support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 41.3%
  • PHP 35.9%
  • Vue 16.7%
  • HTML 2.2%
  • Shell 2.2%
  • CSS 1.7%