K
K
Knyashshsh2018-05-20 00:06:22
Vue.js
Knyashshsh, 2018-05-20 00:06:22

Why is vue not working?

The problem is that when moving the code to the hosting, vue stopped displaying the component, or rather, in the #app element, the following code

<div id="app">
   <tags-input element-id="tags" :existing-tags="{ 
         @foreach ($tagsList as $tag)
             	'{{$tag->title}}': '{{$tag->title}}',
   @endforeach
         }"
         :typeahead="true"></tags-input>
</div>

Began to issue it, even #app would be deleted.
<!---->
However, if you write
<div id="app">
</div>

That div #app is alive
But at the same time everything is fine on LAN. At what errors in the console 0. Vue dev tools sees vuejs. The scripts are the same, any ideas what to do?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question