dont use lucide as module

This commit is contained in:
Klemek
2025-03-17 16:57:17 +01:00
parent 145c045137
commit acee41032a
3 changed files with 3 additions and 4 deletions
+1
View File
@@ -10,6 +10,7 @@ export default [
globals: {
...globals.browser,
Peer: "readonly",
lucide: "readonly",
},
},
},
+1 -1
View File
@@ -7,11 +7,11 @@
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="material-colors.css" />
<script src="https://cdn.jsdelivr.net/npm/peerjs@1.5.4/dist/peerjs.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lucide@0"></script>
<script type="importmap">
{
"imports": {
"vue": "https://cdn.jsdelivr.net/npm/vue@3/dist/vue.esm-browser.js",
"lucide": "https://cdn.jsdelivr.net/npm/lucide@0/dist/esm/lucide.js"
}
}
</script>
+1 -3
View File
@@ -1,10 +1,8 @@
import { createIcons, icons } from "lucide";
import { createApp } from "vue";
const utils = {
updateIcons() {
createIcons({
icons,
lucide.createIcons({
nameAttr: "icon",
attrs: {
width: "1.1em",