Skip to content

nuxt-community/amp-module

Repository files navigation

⚡ @nuxtjs/amp

npm version npm downloads Circle CI Codecov Dependencies Standard JS

AMP (Accelerated Mobile Pages) Module for Nuxt 2

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 [email protected]