This project is no longer maintained!
Basic Single Page Theme developed with WordPress REST API v2 and VueJS 2.0.
VueJS Source code is placed under public/app/themes/vuewp/app/
- Download and install the current Version of Composer from Getcomposer.org
- Install global instance of Gulp with
npm install -g gulp
- Download the Source in your preferred folder with
git clone https://github.com/bedakb/vuewp.git
- Create new Database that would be reserved for WordPress
- Open
.env
file and enter your database connection info data - Open the Folder with the source code in your
cmd
and run following commands: composer install
to install wordpress core-files and PHP devDependenciesnpm install
to install the Node development tools (Scss, BrowserSync, dev-server etc.)- Activate/install required Plugins
- Make sure you are using pretty permalinks, otherwise WP REST API v2 will not work
Start the development server by simply typing this command: gulp serve
. A new Chrome window will open a local development server for you to work on.
You can also access this URL in any other browser for testing: http://localhost:8080 or http://XXX.XXX.XX.XX:8080 (insert your LAN IP) to access it from your phone or other device.
- Enviroment by Gilles Stuessi
- VueJS
- WordPress
- WordPress REST API v2
- Better REST API Featured Images
- Bedrock Boilerplate
Theme developed by Belmin Bedak - bedakb