V
V
Viktor2019-07-02 23:27:14
Vue.js
Viktor, 2019-07-02 23:27:14

Why does Vue have a name property?

export default {
  name: 'main-layout',
 data() {
    return {}
 },
 .......
}

there is a component in the application that connects via routes. Somewhere I probably missed this moment, but who will tell you why in such a component to write the name property.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
t38c3j, 2019-07-02
@polyak-888

https://vuejs.org/v2/api/#name

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question