vue3报错:File was processed with these loaders:
第一次做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:相关推荐
- 报错 File was processed with these loaders:
1.报错问题如图 2.报错地址原因 没有加上模块名字 3.解决问题,添加css模块名字,根据项目创建时选择添加
- 树莓派(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 ...
- 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 } 初学者很多 ...
- ./mysql-bin.index_MySQL 启动报错:File ./mysql-bin.index not found (Errcode: 13)
Linux下安装初始化完MySQL数据库之后,使用mysqld_safe启动mysql数据库,如下发现,启动失败 [root@SVNServer bin]# ./mysqld_safe –user=m ...
- 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 昨天运行的项目,一直报错, ...
- 安装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_ ...
- 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 ...
- vue3 报错提示 找不到模块“./XXX.vue”或其相应的类型声明
vue3 报错提示 找不到模块"./XXX.vue"或其相应的类型声明 从网上找了好多方法比如在tsconfig文件下增加: {"compilerOptions" ...
- 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 ...
最新文章
- 《我想进大厂》之JVM夺命连环10问
- 移动端banner css3(@keyframes )实现
- r语言和metawin_Windows下使用Rtools编译R语言包
- eclipse的jsp第一行代码报错_机器学习之AdaBoost算法及纯python代码手工实现
- 03-命令图片.doc
- 记录工作中常用的CSS3
- (译)你应该知道的jQuery技巧
- ajax回调函数有时成功有时失败,javascript - Ajax 回调函数行为随机。我做错了什么?...
- java 匿名初始化_Java:双括号初始化 /匿名内部类初始化法
- postman支持socket吗_你必须知道postman和Jmeter做接口测试区别
- 支付宝集五福下周一开始;iPhone 面世 13 周年;Laravel 6.10.0 发布 | 极客头条
- 品优购psd文档分享
- 关于target is null for setProperty的问题总结
- PS如何调整图片像素大小
- python 海龟 速度_Python中的高级turtle(海龟)作图
- Python3-正则表达式~爬取猫眼电影应用
- 网站被挂马了怎么办?
- ASEMI肖特基二极管MBR10100FCT关键参数及选型要点
- android studio DDMS debug process 无法激活,小虫子灰色
- 计算机的主要配件是哪两个,组成计算机cpu的两大部件是什么