摘要: 问题: 在写到下面的代码时,报错:Elements in iteration expect to have ‘v-bind:key’ directives(vue/require-v-for-key) <ul> <li v-for=" item in iconsList"> <a> <img :sr 阅读全文
posted @ 2020-12-14 17:12 0810asAmy 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 一 . 安装 在命令行中执行: 使用npm或者cnpm安装 npm install animate.css --save 或 cnpm install animate.css --save 使用yarn安装 yarn add animate.css 二. 引入 在main.js全局引入 import 阅读全文
posted @ 2020-12-14 16:10 0810asAmy 阅读(398) 评论(0) 推荐(0) 编辑
摘要: postcss-pxtorem:转换px为rem的插件 安装 postcss-pxtorem npm install postcss-pxtorem --save 新建rem.js文件 const baseSize = 32 // 设置 rem 函数 function setRem () { // 阅读全文
posted @ 2020-12-14 14:41 0810asAmy 阅读(306) 评论(0) 推荐(0) 编辑
摘要: cmd运行如下命令 netstat -aon|findstr 3306 这样就会显示,那个进程id占用了3306端口。 2.在运行 tasklist 显示如下图: 再到任务管理器中,结束进程即可 阅读全文
posted @ 2020-12-13 12:52 0810asAmy 阅读(743) 评论(0) 推荐(0) 编辑
摘要: 运行npm install 时,卡在sill install loadAllDepsIntoIdealTree不动 1. npm install一直停留在fetchMetadata: sill mapToRegistry uri http://registry.npmjs.org/whatwg-fe 阅读全文
posted @ 2020-12-13 00:51 0810asAmy 阅读(4676) 评论(0) 推荐(0) 编辑
摘要: 1.NodeJs官网下载 https://nodejs.org/en/ 左边是稳定版;右边是最新版 2.测试安装 node -v npm -v 3.CommonJs(模块化) a.每一个文件都是一个模块,都有自己的作用域 b.在模块内部,module变量代表自身 c.module.export 提供 阅读全文
posted @ 2020-12-13 00:44 0810asAmy 阅读(291) 评论(0) 推荐(0) 编辑
摘要: Node.Js是什么? Node 旨在解决什么问题? Node 公开宣称的目标是 “旨在提供一种简单的构建可伸缩网络程序的方法”。当前的服务器程序有什么问题?我们来做个数学题。在 Java™ 和 PHP 这类语言中,每个连接都会生成一个新线程,每个新线程可能需要 2 MB 的配套内存。在一个拥有 8 阅读全文
posted @ 2020-12-13 00:22 0810asAmy 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 地址:https://github.com/sinchang/vue-social-share 1、照例用npm安装 npm install vue-social-share -S 2、引入进项目 import Share from 'vue-social-share' Vue.use(Share) 阅读全文
posted @ 2020-12-11 15:10 0810asAmy 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 非常准确! http://www.qiuziti.com/ 阅读全文
posted @ 2020-12-11 14:48 0810asAmy 阅读(76) 评论(0) 推荐(0) 编辑