收集日常开发中常用到的一些工具方法, 包含 vue 的公用过滤器、公用指令等 (PS: 懒人养成记)
公用自定义过滤器
import Vue from 'vue'
import moment from 'moment'
/**
* filter dateFormat 时间格式化
* param {String, Date} value 可被 new Date 解析的字符串
* param {String} formatStr moment 的 format 字符串
* 使用方法 {{
前言
在官方介绍里有这么一句话:
Yarn is a package manager for your code. It allows you to use and share code with other developers from around the world. Yarn does this quickly, securely, and reliably so you don’t ever have to worry.
关键意思就是,快速,安全,可靠。你下载的包将不再重新下载。而且