[Vuejs]-Can You Save the Current State of a Vue Model?

0πŸ‘

βœ…

To do what you are attempting both you and others would have to be connecting to the same data somewhere. So unfortunately, without contacting and some outside source to store your updates you will be unable to do what you are trying above.

The two main solution for your problem would be saving to a database or saving to a file. Without a backend the easiest solution would be to use one of the many API based database services where you can pull and push data to one repository so everyone visiting your site will get and set the same data.

My favorite is firebase because they have a free option so you can play around with it.

And here is an article on how to get it set up with Vue.js.

Leave a comment