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"
},
jingzaixin 2020-04-24 16:56 原文
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"
},