vuetober

A webpack starting point for single page apps with October CMS and Vue


Keywords
laravel, oc-vuetober-theme, octobercms, spa, vue, vuetober
License
MIT
Install
npm install vuetober@3.0.0-alpha.0

Documentation

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

  1. Download the repo to your /themes directory
  2. Run npm install
  3. 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.