@googleforcreators/templates
v0.1.202410011217
Published
A set of existing Web Stories templates for use in the editor
Downloads
83
Readme
Templates
This package contains the templates used by the dashboard and the editor (as part of page templates).
Template Creation
See External Template Creation.
Generating images for templates
Run npm run workflow:render-template-posters
to generate and save each template page as an image in the build/template-posters/
folder.
Then move and commit the images to the GoogleForCreators/wp.stories.google repo under public/static/main/images/templates/<template-name>/posters
.
You will want to run the resulting images through ImageOptim locally to optimize them before adding them to the repo.