Currently Vue removes HTML Comments from the templates. It would be nice if we could disable this behavior via a configuration. The specific use case is that we are trying to use Vue with Magnolia CMS and Magnolia uses comments to figure out where to display its contribution interface. When Vue removes the comments Magnolia cannot place its contribution interface anymore, which renders the Page useless.
What does the proposed API look like?new Vue({
comments: true | false
});
false: would function like the current behavior, true: would not remove the comments and keep them in the DOM.
simplesmiler, Etheryte, rymdkapten, cooervo, csscoder and 3 more
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