README
⚡ @nuxtjs/amp
AMP (Accelerated Mobile Pages) Module for Nuxt
DEMO: https://codesandbox.io/s/github/nuxt-community/amp-module/
Docs
- Getting Started
- Reference
Setup
- Add the
@nuxtjs/amp
dependency withyarn
ornpm
to your project - Add
@nuxtjs/amp
to themodules
section ofnuxt.config.js
- Configure it:
{
modules: [
// Simple usage
'@nuxtjs/amp',
// With options
['@nuxtjs/amp', { /* module options */ }]
]
}
Development
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
License
Copyright (c) Ahad Birang farnabaz@gmail.com