10 years later #1
4 changed files with 11 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ module.exports = function (eleventyConfig) {
|
|||
'node_modules/jquery/dist/jquery.min.js': 'vendor/jquery.min.js',
|
||||
'node_modules/jquery/dist/jquery.min.map': 'vendor/jquery.min.map'
|
||||
});
|
||||
// eleventyConfig.addPassthroughCopy({"node_modules/normalize.css/normalize.css": "vendor/normalize.css"});
|
||||
eleventyConfig.addPassthroughCopy({'node_modules/hippie-script/index.js': 'vendor/hippie-script.js'});
|
||||
|
||||
eleventyConfig.addWatchTarget('./source/style/');
|
||||
|
||||
|
|
|
|||
6
package-lock.json
generated
6
package-lock.json
generated
|
|
@ -11,6 +11,7 @@
|
|||
"dependencies": {
|
||||
"@11ty/eleventy": "^2.0.1",
|
||||
"bootstrap-icons": "^1.13.1",
|
||||
"hippie-script": "git+ssh://sthag@quelltext.interaktionsweise.de/interaktionsweise/hippie-script.git",
|
||||
"jquery": "^3.7.1",
|
||||
"sass": "^1.93.0"
|
||||
},
|
||||
|
|
@ -1386,6 +1387,11 @@
|
|||
"node": ">= 0.4"
|
||||
}
|
||||
},
|
||||
"node_modules/hippie-script": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "git+ssh://sthag@quelltext.interaktionsweise.de/interaktionsweise/hippie-script.git#090514fc1b3806e4ffaf1523b246724258e41114",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/htmlparser2": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-7.2.0.tgz",
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
"dependencies": {
|
||||
"@11ty/eleventy": "^2.0.1",
|
||||
"bootstrap-icons": "^1.13.1",
|
||||
"hippie-script": "git+ssh://sthag@quelltext.interaktionsweise.de/interaktionsweise/hippie-script.git",
|
||||
"jquery": "^3.7.1",
|
||||
"sass": "^1.93.0"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,10 +50,12 @@ tags:
|
|||
{% endblock %}
|
||||
|
||||
{%- block script %}
|
||||
<script src="{{ pageBase }}js/globals.js"></script>
|
||||
{% comment %}<script src="{{ pageBase }}js/globals.js"></script>{% endcomment %}
|
||||
<script src="/vendor/hippie-script.js"></script>
|
||||
<script src="{{ pageBase }}js/app.js"></script>
|
||||
<script src="{{ pageBase }}js/windows.js"></script>
|
||||
<script>
|
||||
console.log(HIPPIE.hippie.brand);
|
||||
// Get the space element
|
||||
const space = document.getElementById('screen-space');
|
||||
const start = document.querySelector('[data-action=start]');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue