Answer the question
In order to leave comments, you need to log in
How to override the list of the vue object with the list received from the view of the flask model?
Код питон
@app.route('/')
def index_page():
my_list = [1,2,3]
return my_list
new Vue({
el: "#app",
data:{
my_list: # нужно чтобы тут был массив полученный от flask и чтобы он обновлялся без перезагузки страницы. Использовать socketio?
}
})
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