我想反编译Angular 7内置的应用程序 [英] I want to decompile an Angular 7 built app

查看:319
本文介绍了我想反编译Angular 7内置的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用ng build构建了一个Angular应用.我有内置版本,但不小心删除了我的代码.有什么办法可以从构建版本取回代码?

I built an Angular app using ng build. I have the built version but I accidently deleted my code. Is there any way I can get my code back from my build version?

推荐答案

简单答案是.但是,如果您真的想这样做.

Simple answer is NO. But if you really want to do it.

步骤1:在Dist文件夹中部署应用程序代码

Step 1: Deploy the app code in the Dist folder

步骤2:使用Google Chrome开发者工具 F12 .

Step 2: Use Google Chrome Developer tools F12.

步骤3:在调试器"选项卡下的 webpack -> src 下,您将看到所有打字稿文件.

Step 3: Under debugger tab, look under webpack -> src you will see all typescript files.

根据此答案此处

您可以复制并粘贴提供的代码,这至少可以帮助您构建应用程序的结构

you can copy and paste the code provided which would help you to at least build the structure of your application

这篇关于我想反编译Angular 7内置的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆