Skip to content

Commit dd64842

Browse files
authored
Merge pull request #2118 from pgol/bugfix/change-amp-naming
Fix AMP naming and improve docs
2 parents 91a2e6c + 9f667e9 commit dd64842

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ You can find some tutorials and explanations on our [YouTube channel](https://ww
9999
- [TypeScript Action Plan](https://divanteltd.github.io/vue-storefront/guide/basics/typescript.html)
100100
- [GraphQL Action Plan](https://divanteltd.github.io/vue-storefront/guide/basics/graphql.html)
101101
- [SSR Cache](https://divanteltd.github.io/vue-storefront/guide/basics/ssr-cache.html)
102-
- [Google Advanced Mobile Pages](https://divanteltd.github.io/vue-storefront/guide/basics/amp.html)
102+
- [Google Accelerated Mobile Pages](https://divanteltd.github.io/vue-storefront/guide/basics/amp.html)
103103

104104
### Vue Storefront core and themes
105105

docs/guide/basics/amp.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
# Google Advanced Mobile Pages
1+
# Google Accelerated Mobile Pages
22

3-
Google Advanced Mobile pages are available with Vue Storefront 1.6. By default, the Product and Category pages do support AMP. To get the AMP page You should use the following URL:
3+
Google Accelerated Mobile pages are available with Vue Storefront 1.6. By default, the Product and Category pages do support AMP. To get the AMP page You should use the following URL:
44
`http://localhost:3000/c/hoodies-and-sweatshirts-24` -> `http://localhost:3000/amp/c/hoodies-and-sweatshirts-24`.
55
The discovery links are added as `<link rel="amphtml" ...`. The landing pages then distribute the traffic to canonical Vue Storefront links to enable all the features to work (by definition AMP doesn't support any additional JavaScript).
66

77
:::warning Important notice
8-
AMP renderer works ONLY IN PRODUCTION MODE as the [Advanced Content Output Options](https://github.com/DivanteLtd/vue-storefront/blob/develop/doc/Layouts%20and%20advanced%20output%20operations.md) - specifically `index.html` template switching works only in production. In development mode, there can be CSR/SSR issues so don't even test it in development mode :-)
8+
AMP renderer works ONLY IN PRODUCTION MODE as the [Layouts and advanced output operations
9+
](../core-themes/layouts.md) - specifically `index.html` template switching works only in production. In development mode, there can be CSR/SSR issues so don't even test it in development mode :-)
910
:::
1011

1112
AMPHTML templates are provided by the `src/themes/default-amp` special purpose theme which inherits some parts from `default` theme

0 commit comments

Comments
 (0)