alxpez / vuegg

dnd visual editor - mockups and code in one go!
https://vuegg.github.io
MIT License
2.34k stars 392 forks source link

[Feat] Load Project without using Vuex replaceState #54

Open zachzoup opened 4 years ago

zachzoup commented 4 years ago

Is your feature request related to a problem? Please describe.

The projectActions.loadVueggProject action uses the Vuex replaceState function, which complicates implementing this project into an existing application using Vuex.

Describe the solution you'd like

Modify the projectMutations.updateProject method to allow updating more properties than just the title.

Describe alternatives you've considered

Could potentially create a new method, though renaming the existing updateProject method to updateProjectTitle might be a bit clearer.