Answer the question
In order to leave comments, you need to log in
How to display data in template in Vue.js component?
This is what my component looks like:
var guestContent = Vue.extend({
template: `
<p>Guest content</p>
`,
data: function () {
return
{
qs: getQuestionsContent(); // я правильно получаю в него данные из функции?
}
}
}
);
App = new Vue ({ /
el: '#app',
data:
{
topMenuView: "guestmenu",
contentView: "guestcontent",
}
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question