nuxt-community / amp-module

AMP Module for Nuxt 2
https://codesandbox.io/s/github/nuxt-community/amp-module/
MIT License
204 stars 36 forks source link
amp nuxt-module

⚡ @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 farnabaz@gmail.com