![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
开发中的小经验
无处安放的前端
爱编程 不爱bug
展开
-
批量修 改文件夹下 的文件后缀名
这几天因为写php项目 然后要把html的后缀改为php 功程量比较大所以才发现下面这个dos命令 dos命令下 cd到该目录 比如把html后缀 改成php后缀 ren *.html *.php ...原创 2019-03-13 17:14:25 · 244 阅读 · 0 评论 -
yarn与npm的使用方法
yarn工具基本使用 安装yarn工具:npm install -g yarn 1、初始化包 npm init yarn init 2、安装包 npm install xxx --save yarn add xxx 3、移除包 npm uninstall xxx yarn remove xxx 4、更新包 npm update xxx yarn upgrade...原创 2019-04-25 10:36:32 · 987 阅读 · 0 评论 -
ypeError: Cannot read property '$createElement' of undefined at render
修改路由中的配置 把components 中的 s 去掉原创 2019-06-25 22:15:36 · 2661 阅读 · 0 评论 -
vue-cli 配置本地接口
npm 安装 express 2.首先找到bulid目录下的webpack.dev.conf.js 如图 3, 然后在webpack.dev.conf.js文件中添加如下代码 const express = require('express'); const app = express(); const appData = require('../data...原创 2019-06-26 18:04:32 · 809 阅读 · 0 评论 -
自定义Jquery(雏形)
最近博主闲来无事 所以看了一下Jquery的源码 越看越觉得博大精深 后来又参考了其他大牛写的文章 于是自己也决定开始来封装一个js库 现在暂时才只有一个雏形 后续会继续更新 其中可能还要很多不足 欢迎各位大佬指点 (function (global) { function JQuery(select) { return new JQue...原创 2019-06-28 13:37:47 · 1552 阅读 · 0 评论