title: [Vue warn]: Error compiling template: invalid expression: Unexpected token >
body: <p>I got this error when I try to compile a Laravel-Page with only one Vue.js Component.</p>
  
  <p>What I've figured out is, that the error have to be something with this line or what it returns:</p>
  
  <pre><code>&lt;a href="{{route('sites.showSnippet', $snippet-&gt;id)}}"&gt;
                &lt;pre&gt;&lt;code class="language-{{isset($langs[0]) ? $langs[0]-&gt;language_name : ''}}"&gt;{{$snippet-&gt;short_snippet}}&lt;/code&gt;&lt;/pre&gt; 
              &lt;/a&gt;
  </code></pre>
  
  <p>Once I delete $snippet->short_snippet it works with no problems. </p>
  
  <p>in the IMG you can see what it returns <a href="https://i.stack.imgur.com/rD0f0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rD0f0.png" alt="enter image description here"></a></p>
  
  <p>and here is the complete error log:</p>
  
  <pre><code>app.js:17685 [Vue warn]: Error compiling template:
  
  invalid expression: Unexpected token &gt; in
  
      "&lt;p&gt;&lt;a href=\""+_s(route('searchTag', $tags))+"\" title=\"search for "+_s($tags)+"\"&gt; "+_s($tags)+"&lt;/a&gt;&lt;/p&gt;\n\t\t@endif\n\t&lt;/div&gt;\n\t@endif\n\t&lt;copy snippetid=\""+_s($snippet-&gt;id)+"\"&gt;&lt;/copy&gt;\n\t&lt;div class=\"tooltip tooltip_views\"&gt;\n      &lt;span class=\"tooltiptext\"&gt;Views&lt;/span&gt;\n    &lt;"
  
    Raw expression: &lt;p&gt;&lt;a href="{{route('searchTag', $tags)}}" title="search for {{$tags}}"&gt; {{$tags}}&lt;/a&gt;&lt;/p&gt;
          @endif
      &lt;/div&gt;
      @endif
      &lt;copy snippetid="{{$snippet-&gt;id}}"&gt;&lt;/copy&gt;
      &lt;div class="tooltip tooltip_views"&gt;
        &lt;span class="tooltiptext"&gt;Views&lt;/span&gt;
      &lt;
  
  
  91 |            &lt;small&gt;test@test.com, 2019-07-17&lt;/small&gt;
  92 |              &lt;a href="http://codesnippet.local/snippet/3"&gt;
  93 |                &lt;pre&gt;&lt;code class="language-"&gt;&amp;lt;p&amp;gt;&amp;lt;a href="{{route('searchTag', $tags)}}" title="search for {{$tags}}"&amp;gt; {{$tags}}&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;
     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  94 |        @endif
     |  ^^^^^^^^
  95 |    &amp;lt;/div&amp;gt;
     |  ^^^^^^^^^^^^^
  96 |    @endif
     |  ^^^^^^^
  97 |    &amp;lt;copy snippetid="{{$snippet-&amp;gt;id}}"&amp;gt;&amp;lt;/copy&amp;gt;
     |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  98 |    &amp;lt;div class="tooltip tooltip_views"&amp;gt;
     |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  99 |        &amp;lt;span class="tooltiptext"&amp;gt;Views&amp;lt;/span&amp;gt;
     |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  100|      &amp;lt;&lt;/code&gt;&lt;/pre&gt; 
     |  ^^^^^^^^
  
  (found in &lt;Root&gt;)
  </code></pre>
  
  <p>Thanks for your help in advance.</p>