mirror of
				https://github.com/ionic-team/ionic-framework.git
				synced 2025-11-04 21:30:00 +08:00 
			
		
		
		
	Issue number: N/A --------- ## What is the current behavior? Ionic Framework Vue components using `router-link` do not apply an `href` property which causes components to render `div` or `button` elements when they should render an `a`. This is inconsistent with the way Angular and Vue handle router link. ## What is the new behavior? Updates `@stencil/vue-output-target` to latest which adds the code from the following PR: https://github.com/ionic-team/stencil-ds-output-targets/pull/446 The update in vue output target checks if `router-link` and `navManager` are defined so this fix only applies to Ionic Framework components. If both are defined then it adds the `href` property to the element with the value of `router-link`. ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information Dev build: `8.2.7-dev.11722629362.1ac136c4`
		
			
				
	
	
		
			19 lines
		
	
	
		
			243 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			243 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
set -e
 | 
						|
 | 
						|
# Delete old packages
 | 
						|
rm -f *.tgz
 | 
						|
 | 
						|
# Delete vite cache
 | 
						|
rm -rf node_modules/.vite
 | 
						|
 | 
						|
# Pack @ionic/core
 | 
						|
npm pack ../../core
 | 
						|
 | 
						|
# Pack @ionic/vue-router
 | 
						|
npm pack ../vue-router
 | 
						|
 | 
						|
# Install Dependencies
 | 
						|
npm install *.tgz --no-save
 |