git地址:https://github.com/moment/moment
1.进入Vue项目目录
2.npm i moment --save:编码安装
安装完成后,会在项目的package.json文件中显示moment插件,如下:
"dependencies": { "moment": "^2.24.0", "shortid": "^2.2.15", "vue": "^2.5.2", "vue-router": "^3.0.1" },
git地址:https://github.com/moment/moment
1.进入Vue项目目录
2.npm i moment --save:编码安装
安装完成后,会在项目的package.json文件中显示moment插件,如下:
"dependencies": { "moment": "^2.24.0", "shortid": "^2.2.15", "vue": "^2.5.2", "vue-router": "^3.0.1" },
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。