|  | @@ -6,8 +6,8 @@ import {
 | 
											
												
													
														|  |    useStore as vuexUseStore,
 |  |    useStore as vuexUseStore,
 | 
											
												
													
														|  |  } from 'vuex'
 |  |  } from 'vuex'
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -// import example from './module-example'
 |  | 
 | 
											
												
													
														|  | -// import { ExampleStateInterface } from './module-example/state';
 |  | 
 | 
											
												
													
														|  | 
 |  | +import example from './module-example'
 | 
											
												
													
														|  | 
 |  | +import { ExampleStateInterface } from './module-example/state';
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  /*
 |  |  /*
 | 
											
												
													
														|  |   * If not building with SSR mode, you can
 |  |   * If not building with SSR mode, you can
 | 
											
										
											
												
													
														|  | @@ -20,9 +20,9 @@ import {
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  export interface StateInterface {
 |  |  export interface StateInterface {
 | 
											
												
													
														|  |    // Define your own store structure, using submodules if needed
 |  |    // Define your own store structure, using submodules if needed
 | 
											
												
													
														|  | -  // example: ExampleStateInterface;
 |  | 
 | 
											
												
													
														|  | 
 |  | +  example: ExampleStateInterface;
 | 
											
												
													
														|  |    // Declared as unknown to avoid linting issue. Best to strongly type as per the line above.
 |  |    // Declared as unknown to avoid linting issue. Best to strongly type as per the line above.
 | 
											
												
													
														|  | -  example: unknown
 |  | 
 | 
											
												
													
														|  | 
 |  | +  // example: unknown
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  // provide typings for `this.$store`
 |  |  // provide typings for `this.$store`
 | 
											
										
											
												
													
														|  | @@ -38,7 +38,7 @@ export const storeKey: InjectionKey<VuexStore<StateInterface>> = Symbol('vuex-ke
 | 
											
												
													
														|  |  export default store(function (/* { ssrContext } */) {
 |  |  export default store(function (/* { ssrContext } */) {
 | 
											
												
													
														|  |    const Store = createStore<StateInterface>({
 |  |    const Store = createStore<StateInterface>({
 | 
											
												
													
														|  |      modules: {
 |  |      modules: {
 | 
											
												
													
														|  | -      // example
 |  | 
 | 
											
												
													
														|  | 
 |  | +      example
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      // enable strict mode (adds overhead!)
 |  |      // enable strict mode (adds overhead!)
 | 
											
										
											
												
													
														|  | @@ -51,4 +51,4 @@ export default store(function (/* { ssrContext } */) {
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  export function useStore() {
 |  |  export function useStore() {
 | 
											
												
													
														|  |    return vuexUseStore(storeKey)
 |  |    return vuexUseStore(storeKey)
 | 
											
												
													
														|  | -}
 |  | 
 | 
											
												
													
														|  | 
 |  | +}
 |