1d5dd1bad3
Converted AMP Story example over to TypeScript to align with the Examples guide. Note: Requires `v12.1.7-canary.41` or newer to build https://github.com/vercel/next.js/pull/37744#issuecomment-1159573754 ## Documentation / Examples - [X] Make sure the linting passes by running `pnpm lint` - [X] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples) |
||
---|---|---|
.. | ||
pages | ||
.gitignore | ||
amp.d.ts | ||
next-env.d.ts | ||
package.json | ||
README.md | ||
tsconfig.json |
Google AMP Story
This example shows how to create an AMP page with amp-story
using Next.js and the AMP feature.
Deploy your own
Deploy the example using Vercel:
How to use
Execute create-next-app
with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example amp-story amp-story-app
# or
yarn create next-app --example amp-story amp-story-app
# or
pnpm create next-app --example amp-story amp-story-app
Deploy it to the cloud with Vercel (Documentation).