Compare commits
26 Commits
bugfix/WEB
...
master
Author | SHA1 | Date | |
---|---|---|---|
a312a0dc7a | |||
848634f607 | |||
3947390641 | |||
e9d4b09090 | |||
1a36f6c41e | |||
e35487b828 | |||
87d40f1116 | |||
3fce369336 | |||
ef85fc2af4 | |||
e52bf6ae3f | |||
7b0811327b | |||
fae0236e66 | |||
|
ef6a015d9f | ||
|
860f918d78 | ||
|
9867ce976f | ||
|
6bc2da15c1 | ||
317a976241 | |||
f4815e79c8 | |||
de622234e6 | |||
e423bd4a85 | |||
7143060135 | |||
f4fc1b2e16 | |||
872e8e7ce6 | |||
89db780648 | |||
6a801d73c8 | |||
9bc857d7c8 |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ijl/ltemplates",
|
||||
"version": "1.2.2",
|
||||
"version": "1.7.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ijl/templates",
|
||||
"version": "1.2.2",
|
||||
"version": "1.7.1",
|
||||
"description": "Templates library for @ijl projects",
|
||||
"main": "src/index.js",
|
||||
"scripts": {
|
||||
|
@ -5,7 +5,7 @@ const registerPartialsWithExtensions = require('./utils/registerPartialsWithExte
|
||||
|
||||
function toJSON (obj) {
|
||||
if (typeof obj === 'object') {
|
||||
return JSON.stringify(obj)
|
||||
return JSON.stringify(obj, null, 4)
|
||||
}
|
||||
return obj
|
||||
}
|
||||
|
@ -7,9 +7,9 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script src="{{baseUrl}}/fire.app/{{fireappVersion}}/dist/index.js"></script>
|
||||
{{>"partials/scripts.hbs"}}
|
||||
<div id="app"></div>
|
||||
</body>
|
||||
|
||||
</html>
|
@ -7,9 +7,9 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script src="{{baseUrl}}/fire.app/{{fireappVersion}}/index.js"></script>
|
||||
{{>"partials/scripts.hbs"}}
|
||||
<div id="app"></div>
|
||||
</body>
|
||||
|
||||
</html>
|
@ -1,6 +1,8 @@
|
||||
<meta charset="UTF-8">
|
||||
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,600,700,900&subset=cyrillic,cyrillic-ext"
|
||||
rel="stylesheet" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<style>body {margin: 0; padding: 0;}</style>
|
||||
|
@ -2,6 +2,7 @@
|
||||
fireapp({
|
||||
apps: {{{ toJSON apps }}},
|
||||
navigations: {{{ toJSON navigations }}},
|
||||
config: {{{ toJSON config }}}
|
||||
config: {{{ toJSON config }}},
|
||||
features: {{{ toJSON features }}}
|
||||
})
|
||||
</script>
|
15
src/templates/simple.hbs
Normal file
15
src/templates/simple.hbs
Normal file
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<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">
|
||||
<style>body {margin: 0; padding: 0;}</style>
|
||||
<title>{{title}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="{{appRootId}}"></div>
|
||||
<script src="{{scriptUrl}}"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user