问题模块 |
---|
API和组件 |
我在参考 https://rushb.cn/201612/ciwulzrjx00002hw1v6uzk68d/ 这篇文字做自定义组件的时候发现在 app.js里面
import { footerPannel } from 'component/footer-pannel/footer'
会提示如下错误:
网友回复
段天木:
我的开发工具为什么都不出现import include template 标签啊?
求解答:
高国栋:
同问, 关注
心有林夕:
@昌 求问怎么解决的?
昌:
@Ethan 问题已经解决了, 谢谢.
昌:
@Ethan 修改了还是不对, 文件夹结构如下
而且安装你的说法修改后的错误提示还是没有变
Ethan:
可能是路径问题,试一试 import { footerPannel } from '/component/footer-pannel/footer'
如果还不行,把你的folder structure粘贴出来看看呗