摘要:
<input type="checkbox" name="apple" id="apple" value="apple" v-model="names"> <br> <input type="checkbox" name="banana" id="banana" value="banana" v-m 阅读全文
摘要:
原文链接https://zhuanlan.zhihu.com/p/336246798 这是一篇教程,从创建项目到改造项目 vue-cli创建一个项目 在放你做demo的地方,创建一个项目 vue create vue-ssr // 如果你安装了vue-cli4,选择vue2的版本,以下的改进过程是按 阅读全文
摘要:
原文链接https://juejin.cn/post/6844903996793028622 vue项目seo问题简单解决,并生成sitemap 1.场景 随着这几年前端的大变革,对于大型项目,过多的Dom绑定后期的维护已成噩梦。单页面应用由然而生,如今市场上vue,react,angular已成为 阅读全文
摘要:
.table_class{ &::v-deep { .el-table__body-wrapper::-webkit-scrollbar { /*width: 0;宽度为0隐藏*/ width: 4px; } .el-table__body-wrapper::-webkit-scrollbar-th 阅读全文
摘要:
main.js中: Vue.prototype.$EventBus = new Vue(); //全局的事件总线 任何组件 2.触发全局事件 this.$EventBus.$emit("abudaren", {num: 4}); 任何组件<br>3 监听事件 this.$EventBus.$on(" 阅读全文
摘要:
1.从其他项目跳转到本项目,在本项目下获取项目跳转来源url document.referrer 但是也有不可使用的情况 直接在浏览器地址栏中输入地址; 使用location.reload()刷新(location.href或者location.replace()刷新有信息); 在微信对话框中,点击 阅读全文
摘要:
安装插件Vetur,Regex Previewer,Pretty Formatter,Path Intellisense,ESLint,chinese,beautify //setting.js文件 { "emmet.triggerExpansionOnTab": true, "emmet.incl 阅读全文
摘要:
https://www.kungmu.cn/82737.html https://www.snswhy.com/archives/1059.html 阅读全文
摘要:
安装node: https://blog.csdn.net/jiangyu1013/article/details/80980765 安装pm2:npm install pm2 -g npm install报错,解决:npm i node-sass --sass_binary_site=https: 阅读全文
摘要:
https://blog.csdn.net/tg928600774/article/details/105021517 阅读全文