From 4dec3241da96669407f0bebd82bf87656c4d98de Mon Sep 17 00:00:00 2001 From: Doug Wade Date: Sun, 29 May 2016 22:29:36 -0700 Subject: [PATCH] Add meta tags to generator --- .../generators/app/templates/hello-world-page.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/generator-react-server/generators/app/templates/hello-world-page.js b/packages/generator-react-server/generators/app/templates/hello-world-page.js index 58edc5130..40c73f424 100644 --- a/packages/generator-react-server/generators/app/templates/hello-world-page.js +++ b/packages/generator-react-server/generators/app/templates/hello-world-page.js @@ -5,4 +5,13 @@ export default class SimplePage { getElements() { return ; } + + getMetaTags() { + return [ + {charset: 'utf8'}, + {name: 'description', content: 'hello world, powered by React Server'}, + {generator: 'React Server'}, + {keywords: 'React Server'} + ]; + } }