其他分享
首页 > 其他分享> > vue shortid插件

vue shortid插件

作者:互联网

shortid:生成短的id

github源码路径:https://github.com/dylang/shortid

vue插件安装:

  npm i shortid --save   :源码安装,需要编译,所以使用save

安装完成后,会在项目的package.json文件中显示shortid插件,如下:

"dependencies": {
"shortid": "^2.2.15",
"vue": "^2.5.2",
"vue-router": "^3.0.1"
},

 

标签:插件,github,vue,shortid,源码,save
来源: https://www.cnblogs.com/jingzaixin/p/12768596.html