Vue.js: How to open/handle existing project by SourceMap or bundled files

五迷三道 提交于 2021-01-29 05:21:13

问题


Sorry for my stupid question. I am new in vue.js. I have vue.js project without source codes. I have to read Vue components and improve it. But some friends told me that it is imposimble to convert it back. Is it really imposible?

Project file structure:

/js
-app.js
-app.js.map
-manifest.js
-manifest.js.map
-vendor.js
-vendor.js.map

回答1:


On vue >=2 that's basically impossible.

Take a look here:

https://forum.vuejs.org/t/any-method-or-workaround-to-decompile-dynamically-compiled-components/16334

How to get source code from compiled file of vuejs?



来源:https://stackoverflow.com/questions/62847486/vue-js-how-to-open-handle-existing-project-by-sourcemap-or-bundled-files

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