第一次做vue3的项目的时候,从网上找了一个现成的框架进行开发,刚开始开发使用element-plus的时候,我直接把ui代码粘贴进我的项目中,发现代码报错,错误如下:
Compiled with problems:

ERROR in ./src/views/layoutpages/system/Menus.vue?vue&type=template&id=07e451a3&ts=true (./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/views/layoutpages/system/Menus.vue?vue&type=template&id=07e451a3&ts=true) 7:27

Module parse failed: Unexpected token (7:27)
File was processed with these loaders:

  • ./node_modules/vue-loader/dist/templateLoader.js
  • ./node_modules/vue-loader/dist/index.js
    You may need an additional loader to handle the result of these loaders.
    | const _hoisted_3 = /#PURE/_createTextVNode(“Cancel”)
    |
    export function render(_ctx: any,_cache: any,props:any,props: any,props:any,setup: any,data:any,data: any,data:any,options: any) {
    | const _component_el_input = _resolveComponent(“el-input”)!
    | const _component_el_form_item = _resolveComponent(“el-form-item”)!
    我感觉我的代码没问题啊!

找了好久的问题,最后才发现是因为这个我网上拉下来的框架,它不支持typescript语法

vue3报错:File was processed with these loaders:相关推荐

  1. 报错 File was processed with these loaders:

    1.报错问题如图 2.报错地址原因 没有加上模块名字 3.解决问题,添加css模块名字,根据项目创建时选择添加

  2. 树莓派(Raspberry Pi 3) centos7使用yum命令报错File /usr/bin/yum, line 30 except KeyboardInterrupt, e:...

    使用yum命令报错 File "/usr/bin/yum", line 30 except KeyboardInterrupt, e: ^ SyntaxError: invalid ...

  3. golang defer 关闭文件 报错file may have nil or other unexpected value as its corresponding error

    错误实例: file, err := os.Open("xxx.txt") defer file.Close() if err != nil {return err } 初学者很多 ...

  4. ./mysql-bin.index_MySQL 启动报错:File ./mysql-bin.index not found (Errcode: 13)

    Linux下安装初始化完MySQL数据库之后,使用mysqld_safe启动mysql数据库,如下发现,启动失败 [root@SVNServer bin]# ./mysqld_safe –user=m ...

  5. Vue nvm重装node和npm与vue3报错Emitted ‘error‘ event on ChildProcess instance at errno: -4058

    Vue nvm重装node和npm与vue3报错Emitted 'error' event on ChildProcess instance at errno: -4058 昨天运行的项目,一直报错, ...

  6. 安装Phoenix时,执行./splline.py报错File “./sqlline.py“, line 25, in <module> import phoenix_utils File

    安装Phoenix时,执行./splline.py报错File "./sqlline.py", line 25, in <module> import phoenix_ ...

  7. Vue3报错:Extraneous non-props attributes (ref_key) were passed to component but could not be automatic

    Vue3报错:Extraneous non-props attributes (ref_key) were passed to component but could not be automatic ...

  8. vue3 报错提示 找不到模块“./XXX.vue”或其相应的类型声明

    vue3 报错提示 找不到模块"./XXX.vue"或其相应的类型声明 从网上找了好多方法比如在tsconfig文件下增加: {"compilerOptions" ...

  9. Python报错File “「string」“, line 1, in 「module」 NameError: name ‘q‘ is not defined

    Python报错File "", line 1, in NameError: name 'q' is not defined 笔者运行环境:Python 2.7.17 print ...

最新文章

  1. 《我想进大厂》之JVM夺命连环10问
  2. 移动端banner css3(@keyframes )实现
  3. r语言和metawin_Windows下使用Rtools编译R语言包
  4. eclipse的jsp第一行代码报错_机器学习之AdaBoost算法及纯python代码手工实现
  5. 03-命令图片.doc
  6. 记录工作中常用的CSS3
  7. (译)你应该知道的jQuery技巧
  8. ajax回调函数有时成功有时失败,javascript - Ajax 回调函数行为随机。我做错了什么?...
  9. java 匿名初始化_Java:双括号初始化 /匿名内部类初始化法
  10. postman支持socket吗_你必须知道postman和Jmeter做接口测试区别
  11. 支付宝集五福下周一开始;iPhone 面世 13 周年;Laravel 6.10.0 发布 | 极客头条
  12. 品优购psd文档分享
  13. 关于target is null for setProperty的问题总结
  14. PS如何调整图片像素大小
  15. python 海龟 速度_Python中的高级turtle(海龟)作图
  16. Python3-正则表达式~爬取猫眼电影应用
  17. 网站被挂马了怎么办?
  18. ASEMI肖特基二极管MBR10100FCT关键参数及选型要点
  19. android studio DDMS debug process 无法激活,小虫子灰色
  20. 计算机的主要配件是哪两个,组成计算机cpu的两大部件是什么

热门文章

  1. 使电动机反转的matlab仿真图,220V交流电机如何控制正反转
  2. 如何卸载uVision2
  3. 学习计算机网络知识只要一篇就够了!
  4. git的添加git add、更新git pull、删除git rm 、克隆git clone
  5. linux shell脚本 服务重启
  6. 压缩包密码忘了怎么办
  7. Adams行星齿轮减速器仿真
  8. mediawiki和semantic mediawiki的一些东西
  9. 黄国祯-英文论文写作与投稿经验
  10. 推流式搅拌器选型功率计算方法_缺氧池潜水搅拌器选型计算 铁氧池水下搅拌机功率选择...