mirror of
https://github.com/thejakubruzicka/MNotes.git
synced 2025-07-10 06:24:04 +02:00
Update index.html
This commit is contained in:
parent
617b916ed0
commit
afedcb8645
1 changed files with 19 additions and 4 deletions
23
index.html
23
index.html
|
@ -15,18 +15,33 @@
|
|||
|
||||
<link rel="stylesheet" href="style.css">
|
||||
|
||||
<!-- CRITICAL FIX: Import Map for resolving bare module specifiers like "tslib" -->
|
||||
<!-- CRITICAL FIX: Expanded Import Map for resolving bare module specifiers -->
|
||||
<script type="importmap">
|
||||
{
|
||||
"imports": {
|
||||
"tslib": "https://cdn.jsdelivr.net/npm/tslib@2.6.2/tslib.es6.min.js",
|
||||
"@material/web/": "https://cdn.jsdelivr.net/npm/@material/web@1.4.1/"
|
||||
"@material/web/": "https://cdn.jsdelivr.net/npm/@material/web@1.4.1/",
|
||||
"lit": "https://cdn.jsdelivr.net/npm/lit@3.1.2/index.js",
|
||||
"lit/decorators.js": "https://cdn.jsdelivr.net/npm/lit@3.1.2/decorators.js",
|
||||
"lit/directives/class-map.js": "https://cdn.jsdelivr.net/npm/lit@3.1.2/directives/class-map.js",
|
||||
"lit/directives/when.js": "https://cdn.jsdelivr.net/npm/lit@3.1.2/directives/when.js",
|
||||
"lit/html.js": "https://cdn.jsdelivr.net/npm/lit@3.1.2/html.js",
|
||||
"lit/preact-render-to-string.js": "https://cdn.jsdelivr.net/npm/lit@3.1.2/preact-render-to-string.js",
|
||||
"lit/reactive-element.js": "https://cdn.jsdelivr.net/npm/lit@3.1.2/reactive-element.js"
|
||||
/* Add more lit paths if console errors show new ones.
|
||||
Common ones often include:
|
||||
"lit/directives/if-defined.js",
|
||||
"lit/directives/style-map.js",
|
||||
"lit-html": "https://cdn.jsdelivr.net/npm/lit-html@3.1.2/lit-html.js",
|
||||
"lit-html/directives/class-map.js": "https://cdn.jsdelivr.net/npm/lit-html@3.1.2/directives/class-map.js",
|
||||
"lit-html/directives/when.js": "https://cdn.jsdelivr.net/npm/lit-html@3.1.2/directives/when.js"
|
||||
... (check lit.dev for full paths)
|
||||
*/
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Material Web Components (MWC) - Using a more recent version -->
|
||||
<!-- This MUST come AFTER the importmap -->
|
||||
<!-- Material Web Components (MWC) - This MUST come AFTER the importmap -->
|
||||
<script type="module" src="https://cdn.jsdelivr.net/npm/@material/web@1.4.1/all.js"></script>
|
||||
|
||||
<style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue