VueTheme - WordPress Theme + VueJs
WordPress theme using WP REST API and VueJs 2 by rtCamp. This theme is base theme for WordPress theme developers.
How to use?
- Go to your WP theme directory (in
/wp-content/theme/
) - Clone / Download this repo
- Activate your theme from WordPress theme's backend
- This theme will display menu which has set display location to Primary Menu.
- Make sure you fulfill all the requirements before using theme. (See Requirements)
How to use it for development?
- Go to your WP theme directory & navigate to VueTheme.
- Install dependencies
npm install
- Make sure you add
define( 'RT_VUE_DEV', true );
inwp-config.php
to get asset files from webpack dev server. - To start dev server with hot reload
npm run dev
- To create build for production with minification
npm run build
Requirements
- WP API Menus plugin
- WordPress Version 4.7+