Replace Vuex with VueApollo in the Static Site Editor
The goal is replacing Vuex with VueApollo by wrapping existing REST APIs on client-side resolvers for queries and mutations. To understand this strategy, read the following article about wrapping REST APIs. You can also read Apollo documentation about local state management for more information about implementing client-side resolvers.
Tasks
-
Setup ApolloClient -
Create application local state type definition. — !30881 (merged) -
Use VueApollo to display isSupportedContent view. — !30882 (merged)
-
-
Loading content’s source on the editor. -
Create client-side adapter for the files API. !31268 (merged) -
Use GraphQL API to load content in the main page. !31401 (merged)
-
-
Editing content. !31401 (merged) -
Create setContent client-side mutation. -
Create contentChanged
client-side state.
-
-
Create a client-side resolver for the submit content changes service — !31779 (merged)
Edited by Enrique Alcántara