Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/38.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js 将JS库导入Angular 7_Node.js_Angular - Fatal编程技术网

Node.js 将JS库导入Angular 7

Node.js 将JS库导入Angular 7,node.js,angular,Node.js,Angular,我想将Cleave.js和rellax.js导入到我的项目中。 我已经导入了jquery,它工作得很好。对于这些库,我需要在html中编写它们的特定属性。如何导入这些LIB angular.json 使用节点包管理器安装库 npm install --save Cleave npm install --save rellax 它将下载依赖项并将其添加到package.json npm install --save Cleave npm install --save rellax

我想将Cleave.js和rellax.js导入到我的项目中。 我已经导入了jquery,它工作得很好。对于这些库,我需要在html中编写它们的特定属性。如何导入这些LIB

angular.json


使用节点包管理器安装库

npm install --save Cleave
npm install --save rellax
它将下载依赖项并将其添加到package.json

npm install --save Cleave
npm install --save rellax