Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions env.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
/// <reference types="vite/client" />
declare module '*.vue' {
import type { DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any>
export default component
}
7 changes: 3 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@

<head>
<meta charset="UTF-8">
<link rel="icon" href="/myphoto.jpg">
<link rel="icon" href="myphoto.jpg"> <!-- removed leading / -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
<link href="/src/style.css" rel="stylesheet">

<link href="src/style.css" rel="stylesheet"> <!-- removed leading / -->
</head>

<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
<script type="module" src="src/main.ts"></script> <!-- removed leading / -->
</body>

</html>
2 changes: 1 addition & 1 deletion src/components/internship.vue
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ const prev = () => {
>
Duration
</h4> -->
<p class="text-white text-lg font-syne">{{ item.duration }}</p>
<p class="text-white text-lg font-syne">{{ item.outcome }}</p>
</div>
<div class="space-y-1">
<h4
Expand Down
4 changes: 2 additions & 2 deletions src/components/systemstatus.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const updateTime = () => {

// split handles the "03:27:15 PM" format
const [time, period] = timeString.split(' ')
currentTime.value = time
amPm.value = period
currentTime.value = time || ''
amPm.value = period || ''
}

// Fixed the timer type to work with browser intervals
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from '../src/App.vue'
import App from './App.vue'

const app = createApp(App)

Expand Down