5 Commits

Author SHA1 Message Date
d0ca86e9f3 1.2.0 2020-03-31 00:12:27 +03:00
6b7dedccfa fireappVersion 2020-03-31 00:12:20 +03:00
Andrey Vlasov
cf38031df0 change name 2020-03-28 23:47:20 +03:00
8d458efb9b 1.1.2 2020-03-23 22:07:00 +03:00
e661a0f9a3 change hbs & glob path 2020-03-23 22:06:53 +03:00
7 changed files with 8 additions and 7 deletions

2
package-lock.json generated
View File

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

View File

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

View File

@@ -1,5 +1,5 @@
const path = require('path');
const hbs = require(path.resolve('node_modules', 'hbs'));
const hbs = require('hbs');
const registerPartialsWithExtensions = require('./utils/registerPartialsWithExtensions');

View File

@@ -3,10 +3,11 @@
<head>
{{>"partials/header.hbs"}}
<title>{{ pageTitle }}</title>
</head>
<body>
<script src="{{baseUrl}}/inno-bootstrap/{{versionBootstrap}}/dist/index.js"></script>
<script src="{{baseUrl}}/fire.app/{{fireappVersion}}/dist/index.js"></script>
{{>"partials/scripts.hbs"}}
<div id="app"></div>
</body>

View File

@@ -3,10 +3,11 @@
<head>
{{>"partials/header.hbs"}}
<title>{{ pageTitle }}</title>
</head>
<body>
<script src="{{baseUrl}}/bootstrap/{{versionBootstrap}}/index.js"></script>
<script src="{{baseUrl}}/fire.app/{{fireappVersion}}/index.js"></script>
{{>"partials/scripts.hbs"}}
<div id="app"></div>
</body>

View File

@@ -3,4 +3,3 @@
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

@@ -1,7 +1,7 @@
const fs = require('fs');
const path = require('path');
const glob = require(path.resolve('node_modules', 'glob'));
const glob = require('glob');
module.exports = (hbs, rootDir) => {
glob