Vue
闲言博客
记录成长,记录学习!
展开
-
1:1 error Component name “Subtraction“ should always be multi-word vue/multi-word-component-name
1:1 error Component name "Subtraction" should always be multi-word vue/multi-word-component-names原创 2022-04-22 16:35:05 · 1822 阅读 · 0 评论 -
EEXIST: file already exists, cmd shim ‘C:\Users\Administrator\AppData\Roaming\npm\node_modules\@vue
EEXIST: file already exists, cmd shim 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\@vue原创 2022-04-21 20:54:36 · 1856 阅读 · 0 评论 -
在webpack下使用vue3 无法引入单文件的vue组件问题
WARNING in ./src/index.js 30:13-16export 'default' (imported as 'Vue') was not found in 'vue' (possible exports:原创 2022-04-21 20:17:47 · 1534 阅读 · 0 评论 -
[webpack-cli] Error: Unknown option ‘-p‘ [webpack-cli] Run ‘webpack --help‘ to see available command
[webpack-cli] Error: Unknown option '-p' [webpack-cli] Run 'webpack --help' to see available command原创 2022-04-21 20:10:48 · 4958 阅读 · 3 评论 -
Invalid configuration object. Webpack has been initialized using a configuration object that does no
Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema. - configuration.module.rules[0] has an unknown property 'text'. These properties are valid: object { assert?, compiler?, depende原创 2022-04-21 14:50:30 · 5636 阅读 · 0 评论 -
webpack自动打包出现localhost:8080只有Cannot GET /错误
webpack自动打包出现localhost:8080只有Cannot GET /错误转载 2022-04-21 10:23:46 · 1518 阅读 · 9 评论 -
vue.js:634 [Vue warn]: The computed property “total“ is already defined in data. (found in <Root>)
错误产生环境Vue中使用计算属性时产生错误描述vue.js:634 [Vue warn]: The computed property "total" is already defined in data.(found in <Root>)错误原因计算属性和data数据模型中的某个变量重名了界面办法要么改计算属性名,要么改data数据模型中重名的变量...原创 2022-04-18 11:59:45 · 1504 阅读 · 0 评论 -
v-model is not supported on this element type. If you are working with contenteditable, it‘s recomme
错误产生环境Vue中使用v-model 绑定span标签时产生。错误描述v-model is not supported on this element type. If you are working with contenteditable, it's recommended to wrap a library dedicated for that purpose inside a custom component.错误原因使用v-model绑定span标签时产生(眼花了)解决办法.原创 2022-04-17 11:07:29 · 1250 阅读 · 0 评论 -
vue.js:634 [Vue warn]: <select multiple v-model=“occupation“> expects an Array value for its binding
错误产生环境练习vue双向数据绑定时产生错误描述vue.js:634 [Vue warn]: <select multiple v-model="occupation"> expects an Array value for its binding, but got Number(found in <Root>)错误原因v-model绑定的值希望是一个数组类型,但是我们提供的是一个数值类型,所以不符合要求。解决办法将v-model绑定的值更换为数组...原创 2022-04-17 09:03:19 · 904 阅读 · 0 评论 -
npm list vue显示empty解决办法
vue 版本为空转载 2022-03-08 20:11:42 · 4866 阅读 · 6 评论 -
【狂神说Java】Vue最新快速上手教程通俗易懂
目录狂神视频地址1、Vue 概述1.1概述1.2前端三要素1.3三端同一1.4后端技术1.5iView1.6Element UI2、前端发展史2.1后端为主的MVC时代2.2基于AJAX带来的SPA时代2.3前端为主的MV*时代2.4Node JS带来的全栈时代3、 第一个Vue程序3.1、什么是MVVM3.2为什么要使用MVVM(1)View(2)Model(3)ViewModel3.3第一个Vue程序(1)下载地址(2)代码编写4、Vue基本语法4.1v-bind4.2 `v-if`, `v-else`原创 2022-01-09 11:45:19 · 3396 阅读 · 4 评论 -
error in ./src/views/Login.vue Module build failed: TypeError: this.getOptions is not a function
error in ./src/views/Login.vue Module build failed: TypeError: this.getOptions is not a function原创 2022-01-08 16:37:33 · 6593 阅读 · 0 评论 -
Git: husky > pre-commit (node v14.16.1)
错误产生环境使用vscode 往码云提交代码时产生错误描述Git: husky > pre-commit (node v14.16.1)错误原因在将代码提交到本地仓库的时候:git commit提交时报错Stashing changes…[started]项目中使用了husky, 这个会在你git commit的时候先执行里面的严谨模式, 对代码进行检查, 有error就会终止提交git commit前检测husky与pre-commit解决办法使用以下命令提交 gi转载 2021-05-10 20:11:19 · 5962 阅读 · 0 评论 -
‘vue-cli-service‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件。 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! vue
错误产生环境从githup拉取Element-ui-admin项目,运行npm run dev命令时产生。错误描述'vue-cli-service' 不是内部或外部命令,也不是可运行的程序或批处理文件。npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! vue-element-admin@4.4.0 dev: `vue-cli-service serve`npm ERR! Exit status 1npm ERR!npm ERR! Faile原创 2021-04-24 11:24:48 · 2646 阅读 · 2 评论 -
npm ERR! errno -4048 npm ERR! Error: EPERM: operation not permitted, rename ‘G:\xxx\xxxx\open-his-ui
npm ERR! errno -4048npm ERR! Error: EPERM: operation not permitted, rename 'x:\x\xxx\open-his-ui\node_modules\array-slice\package.json.4086199326' -> 'x:\xx\xxx\open-his-ui\node_modules\array-slice\package.json'npm ERR! [OperationalError: EPERM: op转载 2021-04-24 11:00:23 · 3106 阅读 · 0 评论