37% OFF during Black Friday at Mastering Nuxt.

This module is not yet compatible with Nuxt 3

Head over to v2.nuxt.com

amp
@nuxtjs/amp

AMP (Accelerated Mobile Pages) module for Nuxt

⚡ @nuxtjs/amp

npm versionnpm downloadsCircle CICodecovDependenciesStandard JS

AMP (Accelerated Mobile Pages) Module for Nuxt

DEMO: https://codesandbox.io/s/github/nuxt-community/amp-module/

📖 Release Notes

Docs

Setup

  1. Add the @nuxtjs/amp dependency with yarn or npm to your project
  2. Add @nuxtjs/amp to the modules section of nuxt.config.js
  3. Configure it:
{
  modules: [
    // Simple usage
    '@nuxtjs/amp',

    // With options
    ['@nuxtjs/amp', { /* module options */ }]
  ]
}

Development

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using npm run dev

License

MIT License

Copyright (c) Ahad Birang farnabaz@gmail.com