Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@agility/agilitycms-nuxt-module

Package Overview
Dependencies
Maintainers
3
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agility/agilitycms-nuxt-module

Nuxt integration for Agility CMS

  • 1.0.14
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

@agility/agilitycms-nuxt-module

npm version npm version License

Agility CMS integration for NuxtJS

Features

  • Sync Support for Ultra-fast build times
  • Full page routing and static rendeer
  • Easy async data loading for additional components

Setup

1. Add @agility/agilitycms-nuxt-module dependency to your project

yarn add @agility/agilitycms-nuxt-module
#or
npm install @agility/agilitycms-nuxt-module

2. Add @agility/agilitycms-nuxt-module to the buildModules section of nuxt.config.js

{
  buildModules: [
    '@agility/agilitycms-nuxt-module',
  ],
  agilitycms: {
    // module options
	channelName: "website",
	languages: ["en-us"],
	includeLanguageCodeInUrl: false,
	pageComponentPath: "src/AgilityPage.vue"
  }
}

3. Add your Agility CMS instance guid and api keys to .env

AGILITY_GUID=
AGILITY_API_FETCH_KEY=
AGILITY_API_PREVIEW_KEY=

4. Use the $agilitycms global object to access your Agility CMS Sitemap, Pages and Content.

See the example Agility CMS Nuxt Blog repo for a full example.

https://github.com/agility/agility-nuxt-blog

License

MIT License

Keywords

FAQs

Package last updated on 12 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc