标签:依赖 angular2 下载 orm hicon date package str 使用
解决流程 1:配置package.json添加新的依赖,然后进行update,下载新的库 "jquery":"*", "tether":"*", "bootstrap":"*", "moment":"*", "eonasdan-bootstrap-datetimepicker":"*" 2: 配置angular-cli.json "styles": [ "../node_modules/bootstrap/dist/css/bootstrap.min.css", "../node_modules/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css", "styles.css" ], "scripts": [ "../node_modules/jquery/dist/jquery.min.js", "../node_modules/tether/dist/js/tether.min.js", "../node_modules/bootstrap/dist/js/bootstrap.min.js", "../node_modules/moment/min/moment.min.js", "../node_modules/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js" ], 3: 在模版中使用datatimepicker插件标签:依赖 angular2 下载 orm hicon date package str 使用
原文地址:http://www.cnblogs.com/yaleizhou/p/6273835.html