简体   繁体   English

ASP MVC VS2017 AdminLTE 2.4.8无法建立无法找到TypeScript

[英]ASP MVC VS2017 AdminLTE 2.4.8 Can't build can't locate TypeScript

I want to use the latest AdminLTE. 我想使用最新的AdminLTE。 But when I set up manage to bind my project with AdminLTE. 但是,当我进行设置时,设法将我的项目与AdminLTE绑定在一起。 I can't build successfully and I get can't find the module in a full calendar TYPE Script. 我无法成功构建,也无法在完整的日历TYPE脚本中找到该模块。 Please help. 请帮忙。 I searched everywhere and tried out the following solutions but it doesn't work 我到处搜索并尝试了以下解决方案,但是它不起作用

  1. Tried to install npm https://devblogs.microsoft.com/typescript/the-future-of-declaration-files-2/ 试图安装npm https://devblogs.microsoft.com/typescript/the-future-of-declaration-files-2/

and

Moment.js + TypeScript. Moment.js + TypeScript。 Cannot find name moment 找不到名字的时刻

  1. VS 2017 Cannot find moment,JQueryPromise,JQueryEventObject & JQueryAjaxSettings Suggested something but I don't get it. VS 2017无法找到时刻,JQueryPromise,JQueryEventObject和JQueryAjaxSettings提出了一些建议,但我不明白。

键入脚本错误。

I solved the problem. 我解决了问题。 Do not use d.ts file. 不要使用d.ts文件。 Delete d.ts file and use .js file. 删除d.ts文件并使用.js文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM