Skip to content
Cloud CMS Nuxt Plugin
Branch: master
Clone or download
Michael Whitman
Michael Whitman version bump
Latest commit 7441c3d Feb 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib Initial code commit Feb 8, 2019
.gitignore Initial code commit Feb 8, 2019
README.md Initial code commit Feb 8, 2019
package.json version bump Feb 8, 2019

README.md

Cloud CMS Nuxt Module

This module makes it easy to use Cloud CMS from within your Nuxt JS pages and components. It does so by exposing the Cloud CMS Javascript Driver via helper methods and making it easy to provide API configuration.

You can find an example of static site generated using Nuxt JS and Cloud CMS here: https://github.com/gitana/sdk/nuxtjs/sample

Installation

npm install -S cloudcms-nuxt

Example Usage

asyncData(context) {
    return context.$getCloudCMS().then(function({ platform, repository, branch }) {
        // Run Cloud CMS Driver functions here

        return {};
    });
}
You can’t perform that action at this time.