Load the examples properly

This commit is contained in:
Lewis Dale 2023-10-02 09:24:35 +01:00
parent 85bf38b5d5
commit 13f05db1dc
2 changed files with 3 additions and 2 deletions

View File

@ -24,6 +24,7 @@
"postcss-nested": "^6.0.1"
},
"scripts": {
"serve": "eleventy --serve"
"serve": "eleventy --serve",
"build": "eleventy"
}
}

View File

@ -11,5 +11,5 @@
<body>
{{ content | safe }}
<script type="text/javascript" src="/assets/js/react-examples.js" defer></script>
<script type="text/javascript" src="./assets/js/react-examples.js" defer></script>
</body>