oc-vuetober-theme
An experimental SPA built with October CMS and Vue.js.
Caution: This is a very expetimental way to use October. The basic idea behind this theme is to have October handle the backend, and let Vue handle the frontend. I recommend getting very comfortable with Laravel and October before playing around with this.
Installation
- Download the repo to your
/themes
directory - Run
npm install
- Build something amazing
Creating pages
Pages can be created in the /assets/js/pages
directory, there are a few examples to get you started. Once the page is set up, register the route for it in /assets/js/app/routes.es6
.
Communication with the server
This theme does not interact with the server the way a normal October application would. The reason being, no page requests are made once the site is loaded. To communicate with your server you'll need to set up an API. I recommend doing so using this method.