AMP (Accelerated Mobile Pages) Module for Nuxt 2
DEMO: https://codesandbox.io/s/github/nuxt-community/amp-module/
@nuxtjs/amp
dependency with yarn
or npm
to your project@nuxtjs/amp
to the modules
section of nuxt.config.js
{
modules: [
// Simple usage
'@nuxtjs/amp',
// With options
['@nuxtjs/amp', { /* module options */ }]
]
}
yarn install
or npm install
npm run dev
Copyright (c) Ahad Birang farnabaz@gmail.com