You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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).
6
6
7
7
:::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 :-)
9
10
:::
10
11
11
12
AMPHTML templates are provided by the `src/themes/default-amp` special purpose theme which inherits some parts from `default` theme
0 commit comments