Skip to content
WordPress starter theme with Vue.js integrated. Webpack+HMR version - https://github.com/itzikbenh/WordVuePack
Branch: master
Clone or download
Itzik ben hutta
Latest commit 08e0ed6 Sep 17, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets minor fix in gulp production task Sep 17, 2017
public minor fix in gulp production task Sep 17, 2017
.babelrc first commit Sep 16, 2017
README.md minor change Sep 16, 2017
footer.php first commit Sep 16, 2017
functions.php minor change Sep 16, 2017
gulpfile.js
header.php
index.php first commit Sep 16, 2017
package.json added readme Sep 16, 2017
postcss.config.js first commit Sep 16, 2017
style.css first commit Sep 16, 2017
webpack.config.js syntax change Sep 17, 2017

README.md

WordPress starter theme with Vue.js integrated.

This theme pretty much includes only a way to compile your assets with Vue code. It's meant for you to learn Vue inside WordPress, or to create your own theme. It includes an example component. I'm using Gulp+Webpack to compile the assets. Gulp handles the CSS and running Webpack, while Webpack handles JS.

There are packages you would probably want to use such as axios, vuex, etc. I would leave them to you to install.

Clone the theme, run npm install and start playing.

Make sure to modify the BrowserSync proxy link inside the gulpfile.js.

Commands

  1. gulp Will compile, start BrowserSync and watch for any changes.
  2. gulp production Will compile and minify assets.

Vue devtools

Download it here

You can’t perform that action at this time.