Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related issues
#1713
Short description and why it's useful
@NataliaTepluhina please update the docs:
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:
http://localhost:3000/c/hoodies-and-sweatshirts-24
->http://localhost:3000/amp/c/hoodies-and-sweatshirts-24
.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).Important notice: AMP renderer works ONLY IN PRODUCTION MODE as the Advanced Content Output Options - 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 :-)AMPHTML templates are provided by the
src/themes/default-amp
special purpose theme which inherits some parts fromdefault
themeScreenshots of visual changes before/after (if there are any)
Upgrade Notes and Changelog
Contribution and currently important rules acceptance