SawyerHood / draw-a-ui

Draw a mockup and generate html for it
https://draw-a-ui.com
MIT License
13.25k stars 1.59k forks source link

run dev error #23

Open lichengtao1989 opened 11 months ago

lichengtao1989 commented 11 months ago

Module not found: Package path ./tldraw.css import "@tldraw/tldraw/tldraw.css";

| import { useEditor } from "@tldraw/tldraw"; useEditor not export

0xlarry commented 11 months ago

^

steveruizok commented 11 months ago

tldraw author here. What's your dev environment look like? We definitely export it!

image
1823616178 commented 11 months ago

me too ...

1823616178 commented 11 months ago

I got it. Use the alpha version

@tldraw/tldraw@alpha

0x-sen commented 11 months ago

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