squint 2024-07-08

anyone have squint + 3js example code? the example on <https://squint-cljs.github.io/squint/examples/threejs/playground.html> seems to be dead 😞

The example code should still work, check out the repository.

πŸ‘ 1

additionally, does anyone have examples of live reloading with squint? the closest i've seen is the cherry example babashka script, but im unsure if thats still state of the art for it

I use 'npx squint watch'

i... did not realise it was that simple lol

For live reload use watch + vite, see the react example

πŸ‘ 1
πŸ’― 1

hmm, seem to be getting a repeat of an issue thats reportedly fixed

can you try npx squint compile <file> instead and then run the file with Node.js, just as a test? it may just be an issue with run

does indeed seem to be run - i get functional mjs output from npx squint compile eg.cljs in the same repro

can you make a github issue about this?

@borkdude apologies for the ping -- any ideas on this? my package.json reports "squint-cljs": "^0.8.112"

Please provide a repro of what you’re doing