https://github.com/andrevvm/wp-vuejs
WordPress VueJS Starter Theme
https://github.com/andrevvm/wp-vuejs
acf boilerplate theme vue vuejs webpack wordpress
Last synced: 10 months ago
JSON representation
WordPress VueJS Starter Theme
- Host: GitHub
- URL: https://github.com/andrevvm/wp-vuejs
- Owner: andrevvm
- Created: 2017-05-30T19:44:16.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-21T07:18:28.000Z (almost 8 years ago)
- Last Synced: 2024-12-06T17:15:40.878Z (over 1 year ago)
- Topics: acf, boilerplate, theme, vue, vuejs, webpack, wordpress
- Language: JavaScript
- Homepage:
- Size: 1010 KB
- Stars: 19
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wordpress VueJS Starter Theme
> A barebones Vue.js + Webpack + Wordpress + ACF starter theme.
Unlike other Vue.js Wordpress themes, this one does not use the WP REST API. Instead, every Wordpress URL becomes a JSON endpoint by adding the parameter ?json=true. This keeps all of the core WP admin functionality intact, like previewing drafts/published posts, and ACF support, without additional plugins or complicated API configurations.
## Build Setup
``` bash
# Open ./_app folder in Terminal
# install dependencies
npm install
# development build files + watch
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
```