简体   繁体   English

在 myasp.net 上部署 ABP 样板应用程序时共享布局 js 加载问题

[英]shared-layout js loading issue while deploy ABP Boilerplate application on myasp.net

I have deployed AbpBoilerplate ASP.NET CORE with the jQuery option.我已经使用 jQuery 选项部署了 AbpBoilerplate ASP.NET CORE。

Deployed successfully but the system is not able to find the min js files and jquery is also not able to find in shared-layout page.部署成功,但系统无法找到最小 js 文件,并且 jquery 也无法在共享布局页面中找到。

在此处输入图像描述

Is there any bundle config I need to set?我需要设置任何捆绑配置吗?

Please let me the flow as abp is not giving any deployment steps.请让我了解流程,因为 abp 没有提供任何部署步骤。

Note: I am using myasp.net as hosting service.注意:我使用 myasp.net 作为托管服务。

You need to restore the client-side libraries before you run the application.您需要在运行应用程序之前恢复客户端库。

From https://aspnetboilerplate.com/Pages/Documents/Zero/Startup-Template-Core :https://aspnetboilerplate.com/Pages/Documents/Zero/Startup-Template-Core

  • Since it uses libman , go to Web.Mvc project.由于它使用libman , go 到Web.Mvc项目。 Right click to libman.json file.右键单击libman.json文件。 Then click to Restore Client-Side Libraries .然后单击以恢复客户端库

    (If you are not using Visual Studio and/or you are on a mac you can use Libman CLI . After installing it while in Web.Mvc folder run libman restore ) (如果您没有使用 Visual Studio 和/或您在 Mac 上,您可以使用Libman CLI 。在Web.Mvc文件夹中安装它后运行libman restore

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

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