AMP (Accelerated Mobile Pages) Module for Nuxt
DEMO: https://codesandbox.io/s/github/nuxt-community/amp-module/
- Getting Started
- Reference
- 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 */ }]
]
}
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
Copyright (c) Ahad Birang farnabaz@gmail.com