0.0.4 • Published 5 years ago

modules_zml_test v0.0.4

Weekly downloads
3
License
MIT
Repository
gitlab
Last release
5 years ago

oppo-formatDate

格式化可读时间为毫秒

Use Setup

Install vue2-better-scroll

yarn add oppo-formatDate
// or
npm install oppo-formatDate -s

Vue mount

// import
import OppoBetterScroll from 'oppo-formatDate'

// or require
var Vue = require('vue')
var OppoBetterScroll = require('oppo-formatDate')


// 或者直接导入js文件
<script src="./dist/oppo-formatDate.js"></script>

# Example
[Demo Page]down下代码,然后yarn&&npm run test
#######说明
- 代码编写在src目录下,并且在index.js文件暴露出去
- webpack打包编译到 dist 目录
- mocha 和 chai作为测试用例框架
- test文件夹下放测试用例
- istanbul测试用例覆盖率
- 在项目按需引入,使用babel-plugin-import插件,运行npm install babel-plugin-import --save-dev
-- 配置.babelrc文件中:
--- "plugins": [["import", {
        "libraryName": "modules_zml",
        "camel2DashComponentName": false // default: true
    }]]
0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago