draw-a-ui
draw-a-ui copied to clipboard
run dev error
Module not found: Package path ./tldraw.css import "@tldraw/tldraw/tldraw.css";
| import { useEditor } from "@tldraw/tldraw"; useEditor not export
^
tldraw author here. What's your dev environment look like? We definitely export it!
me too ...
I got it. Use the alpha version
@tldraw/tldraw@alpha
you can look right here #3 The @tldraw author has also noticed this problem, it will be solved, but you can try other solutions first