Fenta Blog

welcome to my Blog!


  • 首页

  • 标签

  • 分类

  • 归档

使用webpack-spritesmith生成雪碧图

发表于 2020-04-23

使用webpack-spritesmith生成雪碧图插件官网 webpack-spritesmith 安装 npm install webpack-spritesmith --save vue.config.js配置 const path = require('path');const Sprite ...

阅读全文 »

手写call,bind,applay

发表于 2020-02-18 更新于 2020-02-17

Call,Apply,Bind实现1.bindFunction.prototype.mybind = function(thisArg) { if (typeof this !== 'function') { throw TypeError("Bind must ...

阅读全文 »

SCSS常用全局变量配置

发表于 2020-02-17

SCSS 常用全局mixin、动效、变量1.常用mixin、animation、variable对于常用的css代码块,可以使用mixin来定义,以提高编码效率和统一性 mixin.scss$baseFontSize:75px;// px转rem@function px2rem($px){ ...

阅读全文 »

js类型检测

发表于 2020-01-15 更新于 2020-02-17

类型检测1.typeof数组,null, object会打印相同值 需要二次校验 console.log(typeof 2); // numberconsole.log(typeof true); // booleanconsole.log(type ...

阅读全文 »

js继承

发表于 2020-01-12 更新于 2020-02-17

继承1.原型链继承function SuperType() { this.property = true}SuperType.prototype.getSuperValue = function() { return this.property}f ...

阅读全文 »

Git 协同与提交规范

发表于 2020-01-10

[转] Git 协同与提交规范前言在现代化的软件开发中,尤其是在企业中的团队协同开发流程与代码管理方面,git 都充当着不可或缺的角色。本章中将会讲述如何使用 git 来进行一些基本的版本控制操作与团队协同中的 git 使用流程管理与提交规范。 在 Git 快速上手章节中你将会了解 git 的基本概 ...

阅读全文 »

Js隐式转换

发表于 2020-01-07

Js隐式转换Js数据类型 基本类型 undefined null String Number Boolean Symbol 引用类型 Object Array Function Date 隐式转换方法1.ToPrimitivetoPrimitive(value, type[numbe ...

阅读全文 »

Vue2.x API的Typescript常用写法

发表于 2020-01-06

Vue中Typescript常用写法[TOC] 使用Ts的原因js是一门弱类型、动态类型的语言,存在类型隐式转换、运行时报错等难以预知的问题;而ts是静态类型、强类型语言,编译时即可报错,类型检查更为严格;使开发更为严谨,错误更易发现;其次,接口的定义以及类型的定义更利于团队中代码的维护,也便于代码 ...

阅读全文 »

git 常用命令

发表于 2018-06-01 更新于 2018-06-10

git 常用命令速查1.新建代码库# 在当前目录新建一个Git代码库$ git init# 新建一个目录,将其初始化为Git代码库$ git init [project-name]# 下载一个项目和它的整个代码历史$ git clone [url] 2.代码提交# 提交暂存区到仓库区$ git co ...

阅读全文 »

Hello World

发表于 2017-03-13 更新于 2017-04-10

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in ...

阅读全文 »
小芬达

小芬达

我是练习时长两年半的小芬达,喜欢唱、跳、Rap、篮球
10 日志
7 标签
© 2020 小芬达
由 Hexo 强力驱动 v3.8.0
|
主题 – NexT.Gemini v7.2.0