You can download the Music Festival demonstration site from GitHub. It is a Single-Page Application (SPA) site built on Optimizely Content Delivery API and Vue.js, and includes some customizations for friendly URLs and flatter JSON results.
The sample site demonstrates one approach to render Optimizely content in a client side framework that is using client-side routing for navigation with a working On Page Edit (OPE) mode in the Episerver UI.
This particular solution uses Vue.js with Vuex to handle the state of the app in a single source of truth. Most of the techniques are framework agnostic and can be used with any other framework, such as React or Angular.
- Blog post: Introducing a new SPA template site: MusicFestival
- Routing in a SPA with a working On-Page Editing experience
- Tips and tricks for a great On-Page Editing experience in SPAs
- Introducing Foundation Spa React
Updated 7 months ago