Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

HomeDev GuideRecipesAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

Music Festival SPA

Shows a demo site for the Optimizely Content Delivery API.

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 rendering Optimizely content in a client-side framework that uses client-side routing for navigation with a working On Page Edit (OPE) mode in the Episerver UI.

This solution uses Vue.js with Vuex to handle the app's state in a single source of truth. Most techniques are framework-agnostic and can be used with any other framework, such as React or Angular.

Blog posts on SPA applications