can you think of a page of Mini Program as a single-page application of vue? So multiple pages are multiple single-page applications,
or is it that a Mini Program is just a single-page application, and multiple pages in it are routing pages?
can you think of a page of Mini Program as a single-page application of vue? So multiple pages are multiple single-page applications,
or is it that a Mini Program is just a single-page application, and multiple pages in it are routing pages?
A Mini Program is a single-page application, in which a single page is the routing page. You see, the execution entry is app.js, and there is an onLanuch (execution when the application starts) method right here.
Previous: How nuxt, uses vuex in * .js
Next: Can react-redux be injected into the entry file like vuex and store can be accessed anywhere?