chore: update deps
This commit is contained in:
parent
a56ea95576
commit
ddb90e465e
5
components.d.ts
vendored
5
components.d.ts
vendored
@ -5,14 +5,13 @@ declare module 'vue' {
|
|||||||
export interface GlobalComponents {
|
export interface GlobalComponents {
|
||||||
Footer: typeof import('./src/components/Footer.vue')['default']
|
Footer: typeof import('./src/components/Footer.vue')['default']
|
||||||
README: typeof import('./src/components/README.md')['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']
|
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']
|
CarbonMoon: typeof import('virtual:vite-icons/carbon/moon')['default']
|
||||||
CarbonSun: typeof import('virtual:vite-icons/carbon/sun')['default']
|
CarbonSun: typeof import('virtual:vite-icons/carbon/sun')['default']
|
||||||
CarbonLanguage: typeof import('virtual:vite-icons/carbon/language')['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']
|
CarbonLogoGithub: typeof import('virtual:vite-icons/carbon/logo-github')['default']
|
||||||
|
CarbonPedestrian: typeof import('virtual:vite-icons/carbon/pedestrian')['default']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"@vueuse/head": "^0.6.0",
|
"@vueuse/head": "^0.6.0",
|
||||||
"nprogress": "^0.2.0",
|
"nprogress": "^0.2.0",
|
||||||
"prism-theme-vars": "^0.2.2",
|
"prism-theme-vars": "^0.2.2",
|
||||||
"vue": "^3.1.2",
|
"vue": "^3.1.3",
|
||||||
"vue-i18n": "^9.1.6",
|
"vue-i18n": "^9.1.6",
|
||||||
"vue-router": "^4.0.10"
|
"vue-router": "^4.0.10"
|
||||||
},
|
},
|
||||||
@ -22,8 +22,8 @@
|
|||||||
"@types/nprogress": "^0.2.0",
|
"@types/nprogress": "^0.2.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^4.28.1",
|
"@typescript-eslint/eslint-plugin": "^4.28.1",
|
||||||
"@vitejs/plugin-vue": "^1.2.4",
|
"@vitejs/plugin-vue": "^1.2.4",
|
||||||
"@vue/compiler-sfc": "^3.1.2",
|
"@vue/compiler-sfc": "^3.1.3",
|
||||||
"@vue/server-renderer": "^3.1.2",
|
"@vue/server-renderer": "^3.1.3",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"eslint": "^7.29.0",
|
"eslint": "^7.29.0",
|
||||||
"https-localhost": "^4.6.5",
|
"https-localhost": "^4.6.5",
|
||||||
|
1661
pnpm-lock.yaml
generated
1661
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -1,15 +1,8 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router'
|
||||||
import { useI18n } from 'vue-i18n'
|
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 router = useRouter()
|
||||||
const { t } = useI18n()
|
const { t } = useI18n()
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user