Create Static Pages – VueJS WordPress Theme

Paulund is full of premium tutorials and support to help with your development

Sign up to get full access to all tutorials.

Get Started

Login to your account

In the last tutorial we setup routes and components for our blog posts, we did this with dynamic routes. In this tutorial, we're going to create the routes and VueJS components for static pages. As these are static pages the routes should be static too allowing us to define the exact routes for the pages. Inside the route file located in /vue-wordpress-theme/src/router/index.js you need to add your static pages to the top of the route file. We now have routes for /about and /contactform that will display the Page component which we can . . .

Get Started