![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Vue报错
Delete_89x
这个作者很懒,什么都没留下…
展开
-
Vue-cli报错:ERROR Invalid options in vue.config.js: “plugins“ is not allowed
Vue-cli报错:ERROR Invalid options in vue.config.js: "plugins" is not allowed原创 2022-08-14 18:03:15 · 2250 阅读 · 0 评论 -
vue记录-vue-router.esm-bundler.js:3295 Error: Invalid route component
话不多说,直接上报错图下面是路由index.js,乍一看没毛病吧,vite也没报错,但是跳转的时候就会报错。import { createRouter, createWebHashHistory } from 'vue-router';const routes = [ { path: '/', name: 'Home', component: () =>import('../pages/home.vue'), }, { path: '/about原创 2021-12-05 15:57:26 · 4642 阅读 · 7 评论 -
Vue报错-[Vue warn]: Unknown custom element: <van-action-sheet> - did you register the component correc
111原创 2021-11-16 15:09:53 · 2287 阅读 · 1 评论 -
Vue报错-npm ERR,missing script: serve npm ERR, A complete log of this run can be found in:
项目场景:Vue项目启动报错,麻了,仔细一看发现文件夹路径不对。解决方案:使用cd命令切换到该vue目录下;或者用编译器重新打开正确的项目。比如我的项目文件夹的路径是D/Demo/TypeScriptDemo/Vue-demo/vue3-1但是我用vscode打开的项目是Vue-demo而不是vue3-1,这时候直接使用命令启动项目就会报错,使用cd vue3-1进入vue3-1文件夹即可。...原创 2021-10-30 17:11:22 · 850 阅读 · 1 评论 -
Vue报错-[vue/no-multiple-template-root] The template root requires exactly one element
123原创 2021-10-29 15:03:21 · 1511 阅读 · 1 评论 -
Vue报错-Uncaught TypeError: Vue.createApp is not a function
项目场景:今天在回顾Vue基础的过程中,想用传统html和原生凭借着记忆尝试引入Vue并使用,然后发现自己真拉了。记忆不仅模糊,还混乱了,Vue2混着Vue3就在那瞎整!接下来看看是怎么报错的吧。问题描述:html结构如下:<!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" con原创 2021-10-24 09:13:33 · 13532 阅读 · 1 评论