10 lines
		
	
	
	
		
			321 B
		
	
	
	
		
			Text
		
	
	
	
	
	
		
		
			
		
	
	
			10 lines
		
	
	
	
		
			321 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| 
								 | 
							
								Description:
							 | 
						||
| 
								 | 
							
								    Used for generating a new packroot for a page on Webpack
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Example:
							 | 
						||
| 
								 | 
							
								    rails generate react:packroot Name
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    This will create:
							 | 
						||
| 
								 | 
							
								        A file named javascripts/app/name.ts which refers to a newly created component at
							 | 
						||
| 
								 | 
							
								        javascript/src/components/name/name.tsx (uses the react:component generator)
							 |