-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Labels
Description
What problem does this feature solve?
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