screenshot of VueTheme


WordPress theme using Rest API and Vue.js


The VueTheme is a WordPress theme developed by rtCamp that integrates the WP REST API and VueJs 2. It is designed as a base theme for WordPress theme developers and offers a range of features and functionalities to enhance the development process.


  • Integration of WP REST API and VueJs 2 for seamless communication between WordPress and VueJs components.
  • Menu functionality with a set display location for the Primary Menu.
  • Development environment with hot reload for efficient coding.
  • Production build with minification for optimized performance.
  • Dependency management with npm to easily install required packages.
  • Integration of Vue-Router for handling routes within the Vue components.
  • State management with Vuex for maintaining a centralized store of application data.
  • HTTP client Axios for making API calls to the WordPress backend.
  • Compatibility with popular CSS grid framework Foundation for building responsive layouts.
  • Build automation with Gulp for streamlining the development workflow.


To install and use the VueTheme WordPress theme, follow these steps:

  1. Go to your WordPress theme directory "/wp-content/theme/".
  2. Clone or download the VueTheme repository.
  3. Activate the VueTheme in the WordPress theme's backend.
  4. Ensure that you fulfill all the requirements mentioned in the Requirements section below.
  5. To use it for development, navigate to the VueTheme directory in your WordPress theme directory.
  6. Install the required dependencies by running the command npm install.
  7. Add define( 'RT_VUE_DEV', true ); in the wp-config.php file to allow the retrieval of asset files from the webpack dev server.
  8. Start the development server with hot reload by running npm run dev.
  9. To create a production build with minification, run the command npm run build.


The VueTheme WordPress theme by rtCamp offers a powerful combination of the WP REST API and VueJs 2 for seamless integration and enhanced development experience. With its menu functionality, development environment with hot reload, and support for popular frameworks and packages like Vue-Router, Vuex, Axios, Foundation CSS Grid, and Gulp, it provides a comprehensive solution for WordPress theme developers. Despite the discontinuation of further development on this theme due to a shift in focus towards ReactJS, it still remains a viable option for those looking to leverage the power of VueJs within their WordPress projects.


Vue.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.


ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.


Gulp.js is an old but popular site building tool that automates various repetitive development tasks in web development, such as compiling Sass, minifying JavaScript, and optimizing images.


Webpack is a popular open-source module bundler for JavaScript applications that bundles and optimizes the code and its dependencies for production-ready deployment. It can also be used to transform other types of assets such as CSS, images, and fonts.