chore: fix typo in inherit-attrs warning (#4094)
This commit is contained in:
		
							parent
							
								
									e00aa56658
								
							
						
					
					
						commit
						e508ee08e9
					
				@ -151,7 +151,7 @@ export function compileScript(
 | 
				
			|||||||
  // TODO remove on 3.2
 | 
					  // TODO remove on 3.2
 | 
				
			||||||
  if (sfc.template && sfc.template.attrs['inherit-attrs'] === 'false') {
 | 
					  if (sfc.template && sfc.template.attrs['inherit-attrs'] === 'false') {
 | 
				
			||||||
    warnOnce(
 | 
					    warnOnce(
 | 
				
			||||||
      `experimetnal support for <template inherit-attrs="false"> support has ` +
 | 
					      `Experimental support for <template inherit-attrs="false"> support has ` +
 | 
				
			||||||
        `been removed. Use a <script> block with \`export default\` to ` +
 | 
					        `been removed. Use a <script> block with \`export default\` to ` +
 | 
				
			||||||
        `declare options.`
 | 
					        `declare options.`
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user