This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-11-03
Channels
- # announcements (55)
- # babashka (14)
- # beginners (49)
- # biff (9)
- # calva (73)
- # cider (14)
- # clerk (8)
- # clj-kondo (6)
- # clojure (92)
- # clojure-dev (4)
- # clojure-europe (18)
- # clojure-norway (62)
- # clojure-uk (5)
- # clojuredesign-podcast (4)
- # clojurescript (34)
- # cursive (40)
- # data-science (4)
- # datomic (5)
- # dev-tooling (1)
- # eastwood (6)
- # emacs (107)
- # figwheel-main (9)
- # fulcro (13)
- # gratitude (9)
- # hyperfiddle (5)
- # introduce-yourself (2)
- # off-topic (45)
- # overtone (23)
- # portal (5)
- # releases (3)
- # shadow-cljs (6)
- # specter (1)
- # squint (32)
- # timbre (4)
- # vscode (2)
I'd like to go through a d3 course using squint and I'm looking for a quick scaffold to get started with where I can work in the browser. Is there any around?
cool. Yea I will haha. Thanks I was looking at the wordle repo but the scripts in readme don't work for getting it started.
Will do
Oh I see there is also a version in the examples dir. I'll take a look at that. I was referring to the third party / externally referenced repo
Under projects using
npx squint watch
https://github.com/squint-cljs/squint#watch
Is the vite-react example supposed to have squint
in the package.json
?
I think this example needs squint in the package json for the npm install, a html file that requires the built script and a serve script.
Then it could also probably be referenced up at the quickstart.
Happy to do it if this sounds reasonable.
Oh I missed some docs. Nvm. Lemme look at them more 😛
Does vite create a temporary html or something? I am not familiar with this tool.
When I run bb dev
I get this.
VITE v4.5.0 ready in 224 ms
➜ Local:
➜ Network: use --host to expose
➜ press h to show help
But there is no index.htmlSorry about the million questions. Was just wanting to speed run into this D3 course without much ceremony. But I respect that this is still early stage developments and appreciate your work immensely.
I'd like to do a whole course on using D3 from Squint and put it up as a public repo. But have limited bandwidth at the moment for figuring out the development environment for this. So if there is a good quickstart that spins me up into a browser I would be super grateful for that.
The course for reference to anyone interested. https://www.youtube.com/watch?v=xkBheRZTkaw
Just copy the vite react example, npm install squint-cljs@latest, run bb dev and then make your changes
👍 I’ll circle back to it when I am rested and look at it again with fresh eyes.
All good. I did notice the public folder missing but thought things might be autogenerated. I’m glad we figured it out.
I ended up speed running that video and got what I needed before we found this out so I unfortunately won’t be circling back. But I might have something else to try this out on soon using Sveltekit. I did spin it up before these messages and it worked pretty seamlessly