capo_greco
capo_greco
DDeno
Created by capo_greco on 4/12/2024 in #help
Fresh: front end import map goes where?
which is where I want to be importing scripts to
11 replies
DDeno
Created by capo_greco on 4/12/2024 in #help
Fresh: front end import map goes where?
... to the imports key in that file, "three" is still not registered as an import specifier for imports I am trying to do inside script tags in the .md files in the posts subfolder
11 replies
DDeno
Created by capo_greco on 4/12/2024 in #help
Fresh: front end import map goes where?
"three": "https://cdn.jsdelivr.net/npm/three@0.168.0/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/three@0.168.0/examples/jsm/"
"three": "https://cdn.jsdelivr.net/npm/three@0.168.0/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/three@0.168.0/examples/jsm/"
11 replies
DDeno
Created by capo_greco on 4/12/2024 in #help
Fresh: front end import map goes where?
but if I add this:
11 replies
DDeno
Created by capo_greco on 4/12/2024 in #help
Fresh: front end import map goes where?
which looks like this:
{
"imports": {
"$fresh/": "https://deno.land/x/fresh@1.1.0/",
"preact": "https://esm.sh/preact@10.10.6",
"preact/": "https://esm.sh/preact@10.10.6/",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.3/",
"@preact/signals": "https://esm.sh/*@preact/signals@1.0.3",
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.0.1",
"twind": "https://esm.sh/twind@0.16.17",
"twind/": "https://esm.sh/twind@0.16.17/",
"$std/": "https://deno.land/std@0.160.0/",
"@/": "./",
"./": "./",
"$gfm": "https://deno.land/x/gfm@0.6.0/mod.ts",
"feed": "https://esm.sh/feed@4.2.2"
}
}
{
"imports": {
"$fresh/": "https://deno.land/x/fresh@1.1.0/",
"preact": "https://esm.sh/preact@10.10.6",
"preact/": "https://esm.sh/preact@10.10.6/",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.3/",
"@preact/signals": "https://esm.sh/*@preact/signals@1.0.3",
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.0.1",
"twind": "https://esm.sh/twind@0.16.17",
"twind/": "https://esm.sh/twind@0.16.17/",
"$std/": "https://deno.land/std@0.160.0/",
"@/": "./",
"./": "./",
"$gfm": "https://deno.land/x/gfm@0.6.0/mod.ts",
"feed": "https://esm.sh/feed@4.2.2"
}
}
11 replies
DDeno
Created by capo_greco on 4/12/2024 in #help
Fresh: front end import map goes where?
{
"tasks": {
"start": "deno run -A --watch=static/,routes/ dev.ts"
},
"importMap": "./import_map.json",
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact"
}
}
{
"tasks": {
"start": "deno run -A --watch=static/,routes/ dev.ts"
},
"importMap": "./import_map.json",
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact"
}
}
11 replies
DDeno
Created by capo_greco on 4/12/2024 in #help
Fresh: front end import map goes where?
the template I am using uses an import map:
11 replies
DDeno
Created by capo_greco on 1/19/2024 in #help
Can I add properties to a websocket object?
is it possible to attach the memorable names etc. directly onto the weboscket objects themselves, or would I need to create an encapsulating object
13 replies
DDeno
Created by capo_greco on 1/19/2024 in #help
Can I add properties to a websocket object?
I am using Maps to keep track of everything
13 replies
DDeno
Created by capo_greco on 1/19/2024 in #help
Can I add properties to a websocket object?
I am also generating memorable names for each server and client instance
13 replies
DDeno
Created by capo_greco on 1/19/2024 in #help
Can I add properties to a websocket object?
I am trying to coordinate across servers with BroadcastChannel, as well as across instances with WebSockets
13 replies
DDeno
Created by capo_greco on 1/19/2024 in #help
Can I add properties to a websocket object?
hi! @Altair 680b ok I am back at my computer
13 replies
DDeno
Created by capo_greco on 1/19/2024 in #help
Can I add properties to a websocket object?
I will bbl to discuss further
13 replies
DDeno
Created by capo_greco on 1/19/2024 in #help
Can I add properties to a websocket object?
brilliant - thank you
13 replies
DDeno
Created by capo_greco on 1/15/2023 in #help
deno blog without html sanitization
3 replies