开发者

Getting error when tying to import p5-svelte

I successfully installed p5-svelte via terminal, the files show up in node_modules. But when I try to import p5 into a component, I get an error message:

Getting error when tying to import p5-svelte

I don't understand why its do开发者_开发问答ing this. Here is my import code: <script> import { page } from '$app/stores'; import P5 from 'p5-svelte'; </script>

and here is a picture of what I installed:

Getting error when tying to import p5-svelte

I'm not sure if this is a bug or if I am doing something wrong. Thanks in advance for the help!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜