首页 > 其他分享 >关于Vue脚手架的 Parsing error: No Babel config file detected for 报错

关于Vue脚手架的 Parsing error: No Babel config file detected for 报错

时间:2022-10-09 23:44:38浏览次数:67  
标签:Vue No Babel detected 报错 file config

具体报错

Parsing error: No Babel config file detected for E:\web\src\App.vue. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.eslint

在package.json中添加

 "requireConfigFile": false

找到parserOptions属性加上面那个属性就好

 

标签:Vue,No,Babel,detected,报错,file,config
From: https://www.cnblogs.com/qiaomucreate/p/16774108.html

相关文章

  • clion 调试rust报错 GNU debugger cannot be used with MSVC Rust toolchain
    安装以下rustuptoolchaininstallrustupdefaultstable-x86_64-pc-windows-gnu......
  • configure error cannot run c compiled programs 解决办法
    是用命令:./configure--with-linux-prefix=/up-techpxa270/kernel/linux-2.6.9/--with-board=mainstone--host=arm通过应该是arm平台的问题......
  • working copy is not up-to-date:SVN
    本文向大家讲解的是SVN提交错误:workingcopyisnotup-to-date解决方法:解决方法:在相应文件上,单击选择team,然后选择先更新,然后再提交。这样就好了。......
  • 解决vue3脚手架 “Unresolved function or method defineProps()” 报错
    用vue3+ts脚手架搭建项目的时候,组件会报错。UnresolvedfunctionormethoddefineProps(); 编辑器报红,最后发现是因为没有引入defineProps这个函数。解决方法:impor......
  • vuex使用
    概述1、概念:专门在Vue中实现集中式状态(数据)管理的一个Vue插件,对vue应用中多个组件的共享状态进行集中式的管理(读/写),也是一种组件间通信的方式,且适用于任意组件间通信......
  • P6772 [NOI2020] 美食家 题解
    一道不错的题目。一个朴素的dp就是\(f_{i,x}\)表示时间\(i\)时从1走到\(x\)的最大美味值,就有转移\(f_{i,v_j}=\max\{f_{i-w_j,u_j}+c_{v_j}+美食节贡献\}\),结......
  • DAP-LINK使用OpenOCD解锁STM32
    使用脚本:#!/usr/bin/envbashSOURCE=/usr/share/openocd/INTERFACE_CFG=${SOURCE}scripts/interface/cmsis-dap.cfgTARGET_CFG=${SOURCE}scripts/target/stm32f1x.cfg......
  • [RxJS] Ignore values during windows using throttleTime
    Bydefault,throttleTime(x),afterfirsteventemit,thenwaitforxamountoftime,thenemitanotherlatestvalue.Allthevaluesbetweenthewaitingtimewi......
  • 10.9 pluglnlib 插件库 nodelet
    10.2动态参数参数服务器的数据被修改时,如果节点不重新访问,那么就不能获取修改后的数据,例如在乌龟背景色修改的案例中,先启动乌龟显示节点,然后再修改参数服务器中关于背景......
  • Vue-cli安装
    Vue-cli安装一.首先下载安装Node.js1.官网下载地址:https://nodejs.org/en/download/2.安装完毕,输入命令node-v查看是否安装成功二.Vue-cli安装1.在终端输入s......