Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 21ad5bdf25 | |||
| 24e7df04ca | |||
| d0ca86e9f3 | |||
| 6b7dedccfa | |||
|
|
cf38031df0 | ||
| 8d458efb9b | |||
| e661a0f9a3 |
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ijl/ltemplates",
|
"name": "@ijl/ltemplates",
|
||||||
"version": "1.1.1",
|
"version": "1.2.1",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ijl/templates",
|
"name": "@ijl/templates",
|
||||||
"version": "1.1.1",
|
"version": "1.2.1",
|
||||||
"description": "Templates library for @ijl projects",
|
"description": "Templates library for @ijl projects",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
const hbs = require(path.resolve('node_modules', 'hbs'));
|
const hbs = require('hbs');
|
||||||
|
|
||||||
const registerPartialsWithExtensions = require('./utils/registerPartialsWithExtensions');
|
const registerPartialsWithExtensions = require('./utils/registerPartialsWithExtensions');
|
||||||
|
|
||||||
|
|||||||
@@ -3,10 +3,11 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
{{>"partials/header.hbs"}}
|
{{>"partials/header.hbs"}}
|
||||||
|
<title>{{ pageTitle }}</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<script src="{{baseUrl}}/inno-bootstrap/{{versionBootstrap}}/dist/index.js"></script>
|
<script src="{{baseUrl}}/fire.app/{{fireappVersion}}/dist/index.js"></script>
|
||||||
{{>"partials/scripts.hbs"}}
|
{{>"partials/scripts.hbs"}}
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -3,10 +3,11 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
{{>"partials/header.hbs"}}
|
{{>"partials/header.hbs"}}
|
||||||
|
<title>{{ pageTitle }}</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<script src="{{baseUrl}}/bootstrap/{{versionBootstrap}}/index.js"></script>
|
<script src="{{baseUrl}}/fire.app/{{fireappVersion}}/index.js"></script>
|
||||||
{{>"partials/scripts.hbs"}}
|
{{>"partials/scripts.hbs"}}
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -3,4 +3,3 @@
|
|||||||
rel="stylesheet" />
|
rel="stylesheet" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
<title>{{ pageTitle }}</title>
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
<script>
|
<script>
|
||||||
bootstrap({
|
fireapp({
|
||||||
apps: {{{ toJSON apps }}},
|
apps: {{{ toJSON apps }}},
|
||||||
navigations: {{{ toJSON navigations }}},
|
navigations: {{{ toJSON navigations }}},
|
||||||
config: {{{ toJSON config }}}
|
config: {{{ toJSON config }}}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
const glob = require(path.resolve('node_modules', 'glob'));
|
const glob = require('glob');
|
||||||
|
|
||||||
module.exports = (hbs, rootDir) => {
|
module.exports = (hbs, rootDir) => {
|
||||||
glob
|
glob
|
||||||
|
|||||||
Reference in New Issue
Block a user