安装方式多样,就是一般的npm或者cdn,npm安装如下:. npm install dayjs --save. 使用如下:. var dayjs = require('dayjs'); dayjs().format();.
確定! 回上一頁