Inject store in components
This commit is contained in:
		
							parent
							
								
									99a4051342
								
							
						
					
					
						commit
						15b31f7c8a
					
				
					 2 changed files with 31 additions and 0 deletions
				
			
		
							
								
								
									
										8
									
								
								app/initializers/component-store.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								app/initializers/component-store.js
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,8 @@
 | 
			
		|||
export function initialize(container, application) {
 | 
			
		||||
  application.inject('component', 'store', 'store:main');
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export default {
 | 
			
		||||
  name: 'component-store',
 | 
			
		||||
  initialize: initialize
 | 
			
		||||
};
 | 
			
		||||
		Reference in a new issue