+ dev.hbs template

This commit is contained in:
Primakov Alexandr Alexandrovich 2020-03-14 16:39:26 +03:00
parent 2b41f645f7
commit 0294cef397
4 changed files with 29 additions and 13 deletions

14
src/templates/dev.hbs Normal file
View File

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{>"partials/header.hbs"}}
</head>
<body>
<script src="{{baseUrl}}/inno-bootstrap/{{versionBootstrap}}/dist/index.js"></script>
{{>"partials/scripts.hbs"}}
<div id="app"></div>
</body>
</html>

View File

@ -2,23 +2,12 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> {{>"partials/header.hbs"}}
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,600,700,900&amp;subset=cyrillic,cyrillic-ext"
rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>{{ pageTitle }}</title>
</head> </head>
<body> <body>
<script src="{{baseUrl}}/bootstrap/{{versionBootstrap}}/index.js"></script> <script src="{{baseUrl}}/bootstrap/{{versionBootstrap}}/index.js"></script>
<script> {{>"partials/scripts.hbs"}}
bootstrap({
apps: {{{ toJSON apps }}},
navigations: {{{ toJSON navigations }}},
config: {{{ toJSON config }}}
})
</script>
<div id="app"></div> <div id="app"></div>
</body> </body>

View File

@ -0,0 +1,6 @@
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,600,700,900&amp;subset=cyrillic,cyrillic-ext"
rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>{{ pageTitle }}</title>

View File

@ -0,0 +1,7 @@
<script>
bootstrap({
apps: {{{ toJSON apps }}},
navigations: {{{ toJSON navigations }}},
config: {{{ toJSON config }}}
})
</script>