0

我有一个使用 Vue-Cli 构建的应用程序,它在本地运行良好,但是,当我将代码从 Github 导入 Codesandbox 时,我收到以下错误:

在此处输入图像描述

我在这里得到弯曲的红线/错误:

在此处输入图像描述

有谁知道我需要做些什么来修复?

您可以在此处访问沙箱: https ://codesandbox.io/s/funny-greider-ri1w7?file=/src/components/PhotoDetail.vue

4

1 回答 1

0

删除组件中的空<style>标签,看起来它不能很好地与 Codesandbox 一起使用。

参考: https ://github.com/codesandbox/codesandbox-client/issues/1912#issuecomment-492518145

于 2020-06-23T12:31:36.757 回答