3***@qq.com
3***@qq.com
  • 发布:2019-03-24 13:24
  • 更新:2019-04-27 20:58
  • 阅读:9808

连续组件报错Module parse failed: Unexpected token (1:0)

分类:uni-app

连续组件报错

import uniTabContent from '@/components/uni-tab-content/uni-tab-content.nvue'  
import uniTabBar from '@/components/uni-tab-bar/uni-tab-bar.nvue'  
import uniTabs from '@/components/uni-tabs/uni-tabs.nvue'  
import uniMediaList from '@/components/uni-media-list/uni-media-list.nvue'  
const dom = weex.requireModule('dom')  

---------————————————————————————————————————————
Module parse failed: Unexpected token (1:0)
11:47:12.856 You may need an appropriate loader to handle this file type.
11:47:12.860 > <script>
11:47:12.861 | export default {
11:47:12.864 | render(createElement) {

——————————————————————————————————————————
把上面连接的注释掉,就能正常编译,但是不能使用,

2019-03-24 13:24 负责人:无 分享
已邀请:
l***@163.com

l***@163.com - 我是你大爷

遇到同样的问题,入门小白,不知所措

该问题目前已经被锁定, 无法添加新回复