@agility/agilitycms-nuxt-module

Nuxt integration for Agility CMS
1,403
Install
npm install @agility/agilitycms-nuxt-module
Latest Version:1.0.14
License:MIT
Last Updated:Jun 17, 2021
Links: GitHub  ·  npm
Maintainer: joelvarty

@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

Related Packages

nuxt-cms-engine

CMS engine for nuxt framework

3,496 0
@shopware/cms-base-layer

Vue CMS Nuxt Layer for Shopware

91,927 230
create-easy-cms

Add Easy CMS to a Nuxt or Next.js project

14,568 2
@easy-cms/nuxt

Nuxt module for Easy CMS

13,929 2
@plutocms/pluto

The layerable CMS

6,441 4

Version History

Version Released License
1.0.14 MIT
1.0.13 MIT
1.0.12 MIT
1.0.11 MIT
1.0.10 ISC