chore: update deps

This commit is contained in:
Anthony Fu 2021-07-02 08:25:35 +08:00
parent a56ea95576
commit ddb90e465e
4 changed files with 1105 additions and 576 deletions

5
components.d.ts vendored
View File

@ -5,14 +5,13 @@ declare module 'vue' {
export interface GlobalComponents {
Footer: typeof import('./src/components/Footer.vue')['default']
README: typeof import('./src/components/README.md')['default']
CarbonDicomOverlay: typeof import('virtual:vite-icons/carbon/dicom-overlay')['default']
CarbonCampsite: typeof import('virtual:vite-icons/carbon/campsite')['default']
CarbonPedestrian: typeof import('virtual:vite-icons/carbon/pedestrian')['default']
CarbonWarning: typeof import('virtual:vite-icons/carbon/warning')['default']
CarbonMoon: typeof import('virtual:vite-icons/carbon/moon')['default']
CarbonSun: typeof import('virtual:vite-icons/carbon/sun')['default']
CarbonLanguage: typeof import('virtual:vite-icons/carbon/language')['default']
CarbonDicomOverlay: typeof import('virtual:vite-icons/carbon/dicom-overlay')['default']
CarbonLogoGithub: typeof import('virtual:vite-icons/carbon/logo-github')['default']
CarbonPedestrian: typeof import('virtual:vite-icons/carbon/pedestrian')['default']
}
}

View File

@ -11,7 +11,7 @@
"@vueuse/head": "^0.6.0",
"nprogress": "^0.2.0",
"prism-theme-vars": "^0.2.2",
"vue": "^3.1.2",
"vue": "^3.1.3",
"vue-i18n": "^9.1.6",
"vue-router": "^4.0.10"
},
@ -22,8 +22,8 @@
"@types/nprogress": "^0.2.0",
"@typescript-eslint/eslint-plugin": "^4.28.1",
"@vitejs/plugin-vue": "^1.2.4",
"@vue/compiler-sfc": "^3.1.2",
"@vue/server-renderer": "^3.1.2",
"@vue/compiler-sfc": "^3.1.3",
"@vue/server-renderer": "^3.1.3",
"cross-env": "^7.0.3",
"eslint": "^7.29.0",
"https-localhost": "^4.6.5",

File diff suppressed because it is too large Load Diff

View File

@ -1,15 +1,8 @@
<script setup lang="ts">
import { useRouter } from 'vue-router'
import { useI18n } from 'vue-i18n'
import { defineProps } from 'vue'
const props = defineProps({
name: {
type: String,
required: true,
},
})
const props = defineProps<{ name: string }>()
const router = useRouter()
const { t } = useI18n()
</script>