google-amp-template
v0.1.8
Published
Google AMP Template Adds a valid Google AMP template to your project.
Maintainers
Readme
Build Google AMP experiences for mobile, tablet, and desktop in minutes using a simple CLI. This template provides a ready-to-use AMP starter with sensible defaults so you can focus on content and speed instead of setup. LIVE PREVIEW
About Google AMP
The Google AMP project is an open-source initiative to make fast, high-performing web pages across devices and platforms. The Google AMP Cache serves cached copies of valid AMP content to deliver a consistently fast user experience. Read more.
Template Features (Beta Mary)
- Sidebar navigation
- Vimeo video support
- Carousel component
- Pinterest integration
- Google Analytics ready
- Accordion
- Request add/remove features here.
Installation
Install and run the package directly from npm:
npm install google-amp-template
npm run google-amp-templateUsage Examples
Git clone
git clone https://github.com/tborges/google-amp-template.git
cd google-amp-template
npm run google-amp-template # Generates the AMP folder
# Open amp/index.html to view your AMP template.npm install
mkdir my-first-amp
cd my-first-amp
npm init
npm install google-amp-template
cd node_modules/google-amp-template
npm run google-amp-template # Generates the AMP folder
# Open amp/index.html to view your AMP template.


