File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
docs/advanced-features/amp-support Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description: AMPコミュニティのコンポーネントを追加して、よ
44
55# AMPコンポーネントの追加
66
7- AMPコミュニティは、よりインタラクティブなAMPページを作成するのに役立つ [ たくさんのコンポーネント] ( https://amp.dev/documentation/components/ ) を提供しています。 Next.js はページで使用されるすべてのコンポーネントを自動的にインポートするので、AMPコンポーネントのスクリプトを手動でインポートする必要はありません :
7+ AMP コミュニティは、よりインタラクティブな AMP ページを作成するのに役立つ [ たくさんのコンポーネント] ( https://amp.dev/documentation/components/ ) を提供しています。 Next.js はページで使用されるすべてのコンポーネントを自動的にインポートするので、AMP コンポーネントのスクリプトを手動でインポートする必要はありません :
88
99``` jsx
1010export const config = { amp: true };
@@ -49,7 +49,12 @@ function MyAmpPage() {
4949 < / Head>
5050
5151 < p> Some time: {date .toJSON ()}< / p>
52- < amp- timeago width= " 0" height= " 15" datetime= {date .toJSON ()} layout= " responsive" >
52+ < amp- timeago
53+ width= " 0"
54+ height= " 15"
55+ datetime= {date .toJSON ()}
56+ layout= " responsive"
57+ >
5358 .
5459 < / amp- timeago>
5560 < / div>
You can’t perform that action at this time.
0 commit comments