AMP Module for Nuxt
npm install @nuxtjs/amp[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Circle CI][circle-ci-src]][circle-ci-href]
[![Codecov][codecov-src]][codecov-href]
[![Dependencies][david-dm-src]][david-dm-href]
[![Standard JS][standard-js-src]][standard-js-href]
> AMP (Accelerated Mobile Pages) Module for Nuxt
DEMO: https://codesandbox.io/s/github/nuxt-community/amp-module/
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:
``js
{
modules: [
// Simple usage
'@nuxtjs/amp',
// With options
['@nuxtjs/amp', { / module options / }]
]
}
`
1. Clone this repository
2. Install dependencies using yarn install or npm installnpm run dev`
3. Start development server using
Copyright (c) Ahad Birang
[npm-version-src]: https://img.shields.io/npm/dt/@nuxtjs/amp.svg?style=flat-square
[npm-version-href]: https://npmjs.com/package/@nuxtjs/amp
[npm-downloads-src]: https://img.shields.io/npm/v/@nuxtjs/amp/latest.svg?style=flat-square
[npm-downloads-href]: https://npmjs.com/package/@nuxtjs/amp
[circle-ci-src]: https://img.shields.io/circleci/project/github/nuxt-community/amp-module.svg?style=flat-square
[circle-ci-href]: https://circleci.com/gh/nuxt-community/amp-module
[codecov-src]: https://img.shields.io/codecov/c/github/nuxt-community/amp-module.svg?style=flat-square
[codecov-href]: https://codecov.io/gh/nuxt-community/amp-module
[david-dm-src]: https://david-dm.org/nuxt-community/amp-module/status.svg?style=flat-square
[david-dm-href]: https://david-dm.org/nuxt-community/amp-module
[standard-js-src]: https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square
[standard-js-href]: https://standardjs.com