2 Commits

Author SHA1 Message Date
edc6a9f401 1.1.1 2020-03-14 16:39:40 +03:00
0294cef397 + dev.hbs template 2020-03-14 16:39:26 +03:00
6 changed files with 31 additions and 15 deletions

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "@ijl/ltemplates",
"version": "1.1.0",
"version": "1.1.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "@ijl/templates",
"version": "1.1.0",
"version": "1.1.1",
"description": "Templates library for @ijl projects",
"main": "src/index.js",
"scripts": {

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">
<head>
<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>
{{>"partials/header.hbs"}}
</head>
<body>
<script src="{{baseUrl}}/bootstrap/{{versionBootstrap}}/index.js"></script>
<script>
bootstrap({
apps: {{{ toJSON apps }}},
navigations: {{{ toJSON navigations }}},
config: {{{ toJSON config }}}
})
</script>
{{>"partials/scripts.hbs"}}
<div id="app"></div>
</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>