code-kitchen icon indicating copy to clipboard operation
code-kitchen copied to clipboard

the demo won't render the dom, keep showing loading text

Open wengsj11 opened this issue 1 year ago • 3 comments

image

Running in my local enviroment showing the same problem.

wengsj11 avatar Jun 16 '23 03:06 wengsj11

same question: https://codesandbox.io/p/sandbox/code-kitchen-example-0p5p6v?file=%2Fsrc%2Fstyles.css%3A5%2C1 It looks like there is something wrong with the latest esbuild

Moonquakesss avatar May 30 '24 03:05 Moonquakesss

image

Running in my local enviroment showing the same problem.

Have you solved this problem?

Moonquakesss avatar May 30 '24 03:05 Moonquakesss

Customizing the esbuild-wasm version solves this problem import { Playground, setup } from 'code-kitchen'; setup({ esbuildWasmPath: "https://cdn.jsdelivr.net/npm/[email protected]", })

zhang-stone avatar Aug 14 '24 11:08 zhang-stone