我想将Cleave.js和rellax.js导入到我的项目中。我已经导入了jquery,它运行良好。对于这些库,我需要在html中编写它们的特定属性。我怎样才能进口这些唇语呢?
angular.json
"scripts": [
"node_modules/jquery/dist/jquery.min.js",
"node_modules/cleave.js/dist/cleave.min.js",
"node_modules/rellax/rellax.min.js"
]发布于 2019-03-14 18:35:30
使用Node包管理器安装库。
npm install --save Cleave
npm install --save rellax,它将下载依赖项&并将其添加到package.json中。
https://stackoverflow.com/questions/55169674
复制相似问题