Ajout du CORS Pour le dev local + toastify + exmpl
tout est dans le titre
This commit is contained in:
		
							
								
								
									
										6
									
								
								frontend/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										6
									
								
								frontend/package-lock.json
									
									
									
										generated
									
									
									
								
							| @ -8,6 +8,7 @@ | ||||
|       "name": "clyde", | ||||
|       "version": "0.0.0", | ||||
|       "dependencies": { | ||||
|         "toastify-js": "^1.12.0", | ||||
|         "vue": "^3.4.15" | ||||
|       }, | ||||
|       "devDependencies": { | ||||
| @ -2167,6 +2168,11 @@ | ||||
|         "node": ">=14.0.0" | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/toastify-js": { | ||||
|       "version": "1.12.0", | ||||
|       "resolved": "https://registry.npmjs.org/toastify-js/-/toastify-js-1.12.0.tgz", | ||||
|       "integrity": "sha512-HeMHCO9yLPvP9k0apGSdPUWrUbLnxUKNFzgUoZp1PHCLploIX/4DSQ7V8H25ef+h4iO9n0he7ImfcndnN6nDrQ==" | ||||
|     }, | ||||
|     "node_modules/tough-cookie": { | ||||
|       "version": "4.1.3", | ||||
|       "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz", | ||||
|  | ||||
| @ -10,6 +10,7 @@ | ||||
|     "test:unit": "vitest" | ||||
|   }, | ||||
|   "dependencies": { | ||||
|     "toastify-js": "^1.12.0", | ||||
|     "vue": "^3.4.15" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|  | ||||
| @ -1,5 +1,10 @@ | ||||
| <script setup> | ||||
| 	import 'https://kit.fontawesome.com/fb3bbd0a95.js' | ||||
| 	import Toastify from 'toastify-js' | ||||
| 	import { ref } from 'vue' | ||||
|  | ||||
| 	const test = ref(); | ||||
| 	fetch("http://localhost:8080/ping").then((e) => { return e.json() }).then(e => console.log(e) ); | ||||
| </script> | ||||
|  | ||||
| <template> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user