@components 忘了加/了, 应该是 @/components, @是webpack配置的别名,webpack没有配置@components这个别名,所以报错
@components/lnvitationCode 改为 @/components/lnvitationCode这里@一个webpack alias,具体得看你的webpack配置,你这里我猜是根路径或者 /src
@components/lnvitationCode
@/components/lnvitationCode
@
webpack alias
/src
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(2)
@components 忘了加/了, 应该是 @/components, @是webpack配置的别名,webpack没有配置@components这个别名,所以报错
@components/lnvitationCode
改为@/components/lnvitationCode
这里
@
一个webpack alias
,具体得看你的webpack配置,你这里我猜是根路径或者/src