<h3 dir="auto">Version</h3>
<p dir="auto">2.6.11</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://jsfiddle.net/mqr85hg2/" rel="nofollow">https://jsfiddle.net/mqr85hg2/</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">Open the link and view the console output.</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">"message"</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">""</p>
<hr>
<p dir="auto">If you change Vue to a development environment, such as <a href="https://jsfiddle.net/072nxuzt/" rel="nofollow">https://jsfiddle.net/072nxuzt/</a>, it is normal.</p>
<p dir="auto">I have such a usage scenario. Register a universal watcher with vm$.watcher in mixins. Non-universal watchers will be written directly to the watcher in the *.vue file. So when I register watchers with vm$.watcher in mixins logic, I need to exclude watchers in *.vue files to avoid duplication of registration. I found that I can use watcher.expression to judge. But after my actual test, this is no problem in the development environment, but all the watcher.expression in the production environment are empty strings.</p>
<h3 dir="auto">Vue.js version</h3>
<p dir="auto">Latest dist</p>
<h3 dir="auto">Reproduction Link</h3>
<p dir="auto"><a href="http://jsfiddle.net/up5prrnp/" rel="nofollow">http://jsfiddle.net/up5prrnp/</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">Have a component rendered conditionally with <code class="notranslate">v-if</code> directive, and in the <code class="notranslate">ready</code> hook appended elsewhere with <code class="notranslate">this.$appendTo()</code>.</p>
<h3 dir="auto">What is Expected?</h3>
<p dir="auto">The element to be removed when condition is no longer met; basically the same behavior when <code class="notranslate">this.$appendTo()</code> or any of the other similar methods isn't used.</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">Element persists and can potentially cause duplicates. The fiddle isn't the greatest example as I know that it's preferable to use <code class="notranslate">v-show</code> in that case, but in a nested component structure, a child component's moved element will not be removed even if the parent component is removed.</p>