[英]how should I import a component under the tests folder in the vue project?
Just try './components/Main/TodoApp.vue'
and it should solve your problem.只需尝试
'./components/Main/TodoApp.vue'
,它应该可以解决您的问题。
You're not needed to use @
in here, basically your only using it in your template on event
like click, input, select, etc .你不需要在这里使用
@
,基本上你只在你的模板中使用它,比如点击、输入、 event
等。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.