Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Commit

Permalink
Added viewportSize to exemple
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-t authored Jun 13, 2017
1 parent 0006cd7 commit 2e7cd6d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,13 @@ module.exports = {
phantomPageSettings: {
loadImages: true
},


// http://phantomjs.org/api/webpage/property/viewport-size.html
phantomPageViewportSize: {
width: 1280,
height: 800
},

// Manually transform the HTML for each page after prerendering,
// for example to set the page title and metadata in edge cases
// where you cannot handle this via your routing solution.
Expand Down

0 comments on commit 2e7cd6d

Please # to comment.