D
D
Drottarutarnum2020-06-22 13:42:29
Vue.js
Drottarutarnum, 2020-06-22 13:42:29

How to make a shared datasource in vue?

I have an api on request for which I receive information that should be immediately updated on the entire site.

Information from a single request literally crawls into all the cracks on the site, from the clock in the header, to each block in the body and ending with updated information in the footer

vue does not allow making an app from the entire body, while such problems are usually solved?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dima Polos, 2020-06-22
@Drottarutarnum

vuex

A
Alexey Yarkov, 2020-06-22
@yarkov Vue.js

vue doesn't allow making an app from the entire body

Sadness...
<body>
    <app/>
</body>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question