Skip to content

Commit

Permalink
Convert main/router to TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
steinbro committed Nov 22, 2024
1 parent 41286f5 commit 02041d6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link rel="stylesheet" href="/src/main.css" />

<script src="/src/vendor/unmute.js" type="module"></script>
<script src="/src/main.js" type="module"></script>
<script src="/src/main.ts" type="module"></script>
</head>

<body></body>
Expand Down
2 changes: 1 addition & 1 deletion src/main.js → src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// with many thanks to ChatGPT
import { createApp } from 'vue';
import App from './App.vue';
import router from './router/index.js';
import router from './router/index';

// Actions to take when page is rendered in full
document.addEventListener("DOMContentLoaded", function () {
Expand Down
File renamed without changes.

0 comments on commit 02041d6

Please sign in to comment.