feat: history mode
Signed-off-by: Corentin Thomasset <corentin.thomasset74@gmail.com>
This commit is contained in:
		
							parent
							
								
									a20858dfb8
								
							
						
					
					
						commit
						d92c46c60b
					
				| @ -158,6 +158,7 @@ const routes = [ | |||||||
| 
 | 
 | ||||||
| const router = new VueRouter({ | const router = new VueRouter({ | ||||||
|     base: process.env.BASE_URL, |     base: process.env.BASE_URL, | ||||||
|  |     mode: 'history', | ||||||
|     routes |     routes | ||||||
| }); | }); | ||||||
| 
 | 
 | ||||||
|  | |||||||
							
								
								
									
										7
									
								
								vercel.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								vercel.json
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,7 @@ | |||||||
|  | { | ||||||
|  |   "version": 2, | ||||||
|  |   "routes": [ | ||||||
|  |     { "handle": "filesystem" }, | ||||||
|  |     { "src": "/.*", "dest": "/index.html" } | ||||||
|  |   ] | ||||||
|  | } | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user