Renamed /src to /frontend.
This commit is contained in:
		
							
								
								
									
										34
									
								
								frontend/components/AdminPage.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								frontend/components/AdminPage.vue
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,34 @@ | ||||
| <template> | ||||
|   <div> | ||||
|     <h1>Admin-side</h1> | ||||
|     <Tabs :tabs="tabs" /> | ||||
|   </div> | ||||
| </template> | ||||
|  | ||||
| <script> | ||||
| import Tabs from "@/ui/Tabs"; | ||||
| import RegisterPage from "@/components/RegisterPage"; | ||||
| import VirtualLotteryRegistrationPage from "@/components/VirtualLotteryRegistrationPage"; | ||||
|  | ||||
| export default { | ||||
|   components: { | ||||
|     Tabs, | ||||
|     RegisterPage, | ||||
|     VirtualLotteryRegistrationPage | ||||
|   }, | ||||
|   data() { | ||||
|     return { | ||||
|       tabs: [ | ||||
|         { name: "Registrering", component: RegisterPage }, | ||||
|         { name: "Virtuelt lotteri", component: VirtualLotteryRegistrationPage } | ||||
|       ] | ||||
|     }; | ||||
|   } | ||||
| }; | ||||
| </script> | ||||
|  | ||||
| <style lang="scss" scoped> | ||||
| h1 { | ||||
|   text-align: center; | ||||
| } | ||||
| </style> | ||||
		Reference in New Issue
	
	Block a user