如何将jasny引导导入Angular 4?
Jasny Bootstrap: 已安装:npm安装jasny引导-保存 在app/app.module.ts或main.ts中导入 从“jasny引导”导入*作为jasny 我得到了这个错误: /Users/Roller/Working/Angular4/src/app/app.module.ts 11,24中出错:找不到模块“jasny bootstrap”。jasny bootstrap不是角度模块,它只是javascript库。如果使用angular cli,则可以将此脚本包含在.angular-cli.json文件中。你就是这样做的:如何将jasny引导导入Angular 4?,angular,jasny-bootstrap,Angular,Jasny Bootstrap,Jasny Bootstrap: 已安装:npm安装jasny引导-保存 在app/app.module.ts或main.ts中导入 从“jasny引导”导入*作为jasny 我得到了这个错误: /Users/Roller/Working/Angular4/src/app/app.module.ts 11,24中出错:找不到模块“jasny bootstrap”。jasny bootstrap不是角度模块,它只是javascript库。如果使用angular cli,则可以将此脚本包含在.ang
"scripts": [
"../node_modules/jquery/dist/jquery.min.js",
"../node_modules/bootstrap/dist/js/bootstrap.min.js"
]
css文件也是如此:
"styles": [
"../node_modules/bootstrap/dist/js/bootstrap.min.css"
]