A single page application built with October CMS and Vue.js
A live demo for this theme can be found here
Warning: This repository is an experimental October theme, and should be treated as such.
- Clone the repository into your
/themes
directory. - Install theme dependencies
npm install
. - Assemble theme assets
gulp compile
- Install the Bedard.Vuetober plugin
git clong https://github.com/scottbedard/oc-vuetober-plugin.git
- Install the RainLab.Blog plugin
php artisan plugin:install RainLab.Blog
- Install the Owl.RainLabBlogApi plugin
git clone https://github.com/october-widgets/rainlab-blog-api.git
To register a route or redirect, simply create an entry in /assets/js/app/routes.js
or /assets/js/app/redirects.js
. For more information how routing works, please visit the vue-router documentation.
A few examples have been made to help get you started. For basic pages, simply add a Vue component to the /pages
directory. The /blog
pages demonstrate how to fetch data from the server, and use route parameters. For more information on making requests, please visit the vue-resource documentation.
Static content can be fetched from the server, and then cached for a period of time. For an example of this, take a look at the /about
page.