UI / SSR ⭐ 14k stars
Accelerated Mobile Pages: páginas web rápidas para móvil con componentes predefinidos.
frontend-desarrollo (regla: solo catálogo de las 66 · versiones por ERR/MEJ)
Instalación: HTML: <script async src="https://cdn.ampproject.org/v0.js"></script>
<!doctype html><html amp><head>
<script async src="https://cdn.ampproject.org/v0.js"></script>
</head><body><h1>Hola AMP</h1></body></html>
Dos casos de uso comunes implementados con esta librería.
HTML AMP con una imagen optimizada.
<!doctype html>
<html amp>
<head>
<meta charset="utf-8" />
<script async src="https://cdn.ampproject.org/v0.js"></script>
<style amp-boilerplate>body{visibility:hidden}</style>
</head>
<body>
<amp-img src="foto.jpg" width="400" height="300" layout="responsive" alt="Foto"></amp-img>
</body>
</html>Componente amp-carousel de imágenes.
<script async custom-element="amp-carousel" src="https://cdn.ampproject.org/v0/amp-carousel-0.1.js"></script>
<amp-carousel width="400" height="300" layout="responsive" type="slides">
<amp-img src="1.jpg" width="400" height="300"></amp-img>
<amp-img src="2.jpg" width="400" height="300"></amp-img>
</amp-carousel>| Categoría | UI / SSR |
|---|---|
| Stars (GitHub) | ⭐ 14k |
| Sitio oficial | https://amp.dev/ |
| GitHub | https://github.com/ampproject/amphtml |
| Instalación | HTML: <script async src="https://cdn.ampproject.org/v0.js"></script> |
| Relacionadas | React.js · Vue.js · Angular |
C:\Users\TUF\Documents\librerías\local\ antes de descargar.
Volver al índice de los 66 estudios.