A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue/issues/7054 below:

vue-template-compiler 支持 deindent 开关 · Issue #7054 · vuejs/vue · GitHub

What problem does this feature solve?

parseComponent中,会对script进行de-indent,导致生成sourceMap时无法根据scriptsourceMap计算vue文件中的位置。或许我们应该支持可选的de-indent或在block中输出具体去掉了多少的空白?

What does the proposed API look like?

vue_template_compiler.parseComponent(vue, {deindent: false})


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4