logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

vscode git远程强制更新代码覆盖到本地

vscode切换到当前分支git fetch --all 更新所有分支git reset --haed origin/feature#5(feature#5是要拉取的分支)git pull

#git
VUE设置浏览器icon图标

Vue怎么设置左上角icon图标呢?步骤如下:(1)、提前把icon图标copy到static目录下(2)、在index.html页面添加 <link rel ="shortcut icon" type="image/x-icon" href="static/favicon.ico">(3)、保存页面刷新浏览器

npm err! Unexpected end of JSON input while parsing near解决办法

npm install时出现npm err! Unexpected end of JSON input while parsing near错误输入  npm cache clean --fore 即可解决问题啦啦啦~~希望可以帮助到小伙伴们

#webpack
vue安装vux之神坑之路

1、安装vux,npm install vux --save-dev2、安装vux-loader,npm install vux-loader --save-dev3、安装less、less-loader,npm install less less-loader --save-dev4、安装vuex,npm install vuex --save-dev5、在bui...

Vue设置浏览器title-icon

vue项目如何设置浏览器title-icon呢?步骤如下:(1)、把icon图标存放在static目录下(2)、在index.html页面添加 <link rel ="shortcut icon" type="image/x-icon" href="static/favicon.ico">(3)、保存页面刷新浏

vue-cli+webpack搭建项目

1、检查是否安装了node,node -v,2、检查npm版本,npm -v,3、进入项目的地址(我的是直接建立在桌面上的,比较懒),cd desktop,4、安装cnpm(原因:因为npm安装速度超级慢,cnpm是淘宝镜像很快,也是一个小技巧哈),npm install -g cnpm --registry=https://registry.npm.taobao.or...

npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall scandir解决方法

在vue init webpack my-vue的时候出现 npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall scandir 报错emmm.... 不知道什么原因报的错,最后还是解决了,只需update最新npm即可npm install -g npm @latest然后在更新vue-clinpm install -g vue-cl

vue生命周期共有几个阶段?分别是什么?

一共8个阶段1、beforeCreate(创建前)2、created(创建后)3、beforeMount(载入前)4、mounted(载入后)5、beforeUpdate(更新前)6、updated(更新后)7、beforeDestroy(销毁前)8、destroyed(销毁后) vue第一次页面加载会触发哪几个钩子函数?beforeCreate、cre...

VUE设置浏览器icon图标

Vue怎么设置左上角icon图标呢?步骤如下:(1)、提前把icon图标copy到static目录下(2)、在index.html页面添加 <link rel ="shortcut icon" type="image/x-icon" href="static/favicon.ico">(3)、保存页面刷新浏览器

到底了