G
G
Greeg Zagrelov2020-01-28 23:22:14
WordPress
Greeg Zagrelov, 2020-01-28 23:22:14

Vue Js in place with Laravel throws an error, why?

https://jsfiddle.net/9z16w738/2/ Why does the same code work here and there is an error in phpStorm.
all connections are there, I tried to insert something from vue that works, namely, this beats an error
5e30978ee0de1920856848.jpeg

<div id="app">
      <div id="dynamic-component-demo" class="demo">
          <button
              v-for="tab in tabs"
              v-bind:key="tab"
              v-bind:class="['tab-button', { active: currentTab === tab }]"
              v-on:click="currentTab = tab"
          >{{ tab }}</button>

          <component
              v-bind:is="currentTabComponent"
              class="tab"
          ></component>
      </div>
  </div>

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Denis Yanchevsky, 2019-05-03
@caof19

Hello.
Set "category" in Settings -> Permalinks -> Category prefix and save.

A
Anatoly, 2019-05-03
@Tolly

maybe category-name?

A
Andrey Suha, 2020-01-28
@OldSchool1705

Try instead of {{ tab }} this is @{{ tab }}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question