generator-premiere-mern-stack
Version:
A fully function MERN stack generator running on the latest and greatest thats easy to get started with
39 lines (29 loc) • 1.19 kB
JavaScript
export default function (templateConfig) {
const { title, message } = templateConfig.htmlWebpackPlugin.options;
return `
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>${title}</title>
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Lato:300,400" rel="stylesheet preload">
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Mobile Friendly Tag -->
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
<!-- Theme Color -->
<meta name="theme-color" content="#346CA1">
<!-- Title -->
<meta name="React-Stack-2" content="">
</head>
<body>
<noscript>
<h1>Please Enable JS in your browser in order to continue</h1>
</noscript>
<div id='root'></div>
<script src='/main.js'></script>
</body>
</html>
`;
}