Skip to content

Commit

Permalink
[mobile] Add meta viewport tag.
Browse files Browse the repository at this point in the history
Co-Authored-By: Eric Rabil <ericjrabil@gmail.com>

Signed-off-by: Nisar Hassan Naqvi <syednisarhassan12@gmail.com>
  • Loading branch information
nisarhassan12 authored and akosyakov committed Jan 29, 2020
1 parent 287d3ca commit 3ad2b62
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ export class FrontendGenerator extends AbstractGenerator {

protected compileIndexHead(frontendModules: Map<string, string>): string {
return `
<meta charset="UTF-8">`;
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">`;
}

protected compileIndexJs(frontendModules: Map<string, string>): string {
Expand Down

0 comments on commit 3ad2b62

Please sign in to comment.