可在腳手架初始化上選擇該插件,參考day.js文檔: [點擊前往>>](https://github.com/iamkun/dayjs/blob/dev/docs/zh-cn/README.zh-CN.md)
步驟一:main.js
```javascript
import dayjs from 'dayjs'
Vue.prototype.$day = dayjs;//時間庫
```
<br>
步驟二:組件頁面
```javascript
this.$day("2019-05-05").format("YYYY/MM/DD HH:mm:ss")
```