I want to decompile an Angular 7 built app

让人想犯罪 __ 提交于 2019-12-11 06:05:13

问题


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?


回答1:


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

Step 1: Deploy the app code in the Dist folder

Step 2: Use Google Chrome Developer tools F12.

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



来源:https://stackoverflow.com/questions/56197381/i-want-to-decompile-an-angular-7-built-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!