amp-module
amp-module copied to clipboard
AMP Module for Nuxt 2
⚡ @nuxtjs/amp
AMP (Accelerated Mobile Pages) Module for Nuxt
DEMO: https://codesandbox.io/s/github/nuxt-community/amp-module/
📖 Release Notes
Docs
- Getting Started
- Introduction
- Setup
- Usage
- Styling
- Reference
- API
- Options
- AMP elements
- Components
- API
Setup
- Add the
@nuxtjs/ampdependency withyarnornpmto your project - Add
@nuxtjs/ampto themodulessection ofnuxt.config.js - Configure it:
{
modules: [
// Simple usage
'@nuxtjs/amp',
// With options
['@nuxtjs/amp', { /* module options */ }]
]
}
Development
- Clone this repository
- Install dependencies using
yarn installornpm install - Start development server using
npm run dev
License
MIT License
Copyright (c) Ahad Birang [email protected]