+ dev.hbs template
This commit is contained in:
parent
2b41f645f7
commit
0294cef397
14
src/templates/dev.hbs
Normal file
14
src/templates/dev.hbs
Normal 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>
|
@ -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&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>
|
||||||
|
|
||||||
|
6
src/templates/partials/header.hbs
Normal file
6
src/templates/partials/header.hbs
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<meta charset="UTF-8">
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,600,700,900&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>
|
7
src/templates/partials/scripts.hbs
Normal file
7
src/templates/partials/scripts.hbs
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<script>
|
||||||
|
bootstrap({
|
||||||
|
apps: {{{ toJSON apps }}},
|
||||||
|
navigations: {{{ toJSON navigations }}},
|
||||||
|
config: {{{ toJSON config }}}
|
||||||
|
})
|
||||||
|
</script>
|
Loading…
Reference in New Issue
Block a user