diff --git a/package.json b/package.json index 247aae8e..f788f426 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,10 @@ "version": "0.1.0", "type": "module", "packageManager": "pnpm@9.14.2", + "homepage": "https://vite-starter.element-plus.org", + "repository": { + "url": "https://github.com/element-plus/element-plus-vite-starter" + }, "scripts": { "dev": "vite", "build": "vite build", @@ -20,6 +24,7 @@ }, "devDependencies": { "@iconify-json/ep": "^1.2.1", + "@iconify-json/ri": "^1.2.3", "@types/node": "^20.17.6", "@vitejs/plugin-vue": "^5.2.0", "sass": "^1.81.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0b965ed1..b2d0dcb9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,6 +27,9 @@ importers: '@iconify-json/ep': specifier: ^1.2.1 version: 1.2.1 + '@iconify-json/ri': + specifier: ^1.2.3 + version: 1.2.3 '@types/node': specifier: ^20.17.6 version: 20.17.6 @@ -390,6 +393,9 @@ packages: '@iconify-json/ep@1.2.1': resolution: {integrity: sha512-m72jNpdlWI7Wd3TPs3RUd6nPiU1WWnWSvpOkM67HWNsyQrZDlTtLstLF9hAK8nhOxENi6ZO670A16mDvWJD9Cw==} + '@iconify-json/ri@1.2.3': + resolution: {integrity: sha512-UVKofd5xkSevGd5K01pvO4NWsu+2C9spu+GxnMZUYymUiaWmpCAxtd22MFSpm6MGf0MP4GCwhDCo1Q8L8oZ9wg==} + '@iconify/types@2.0.0': resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} @@ -1821,6 +1827,10 @@ snapshots: dependencies: '@iconify/types': 2.0.0 + '@iconify-json/ri@1.2.3': + dependencies: + '@iconify/types': 2.0.0 + '@iconify/types@2.0.0': {} '@iconify/utils@2.1.33': diff --git a/src/components/layouts/BaseHeader.vue b/src/components/layouts/BaseHeader.vue index 3ea3a8ae..9c36a7e6 100644 --- a/src/components/layouts/BaseHeader.vue +++ b/src/components/layouts/BaseHeader.vue @@ -1,10 +1,17 @@ + + diff --git a/src/components/layouts/BaseSide.vue b/src/components/layouts/BaseSide.vue index 5c05e4a3..ca37bbcf 100644 --- a/src/components/layouts/BaseSide.vue +++ b/src/components/layouts/BaseSide.vue @@ -33,7 +33,7 @@ const handleClose = (key: string, keyPath: string[]) => { - item one + item one item two diff --git a/src/pages/nav/1/item-1.vue b/src/pages/nav/1/item-1.vue new file mode 100644 index 00000000..15e7cc21 --- /dev/null +++ b/src/pages/nav/1/item-1.vue @@ -0,0 +1,5 @@ + diff --git a/src/typed-router.d.ts b/src/typed-router.d.ts index e7a33a5d..b3586f9c 100644 --- a/src/typed-router.d.ts +++ b/src/typed-router.d.ts @@ -19,6 +19,7 @@ declare module 'vue-router/auto-routes' { */ export interface RouteNamedMap { '/': RouteRecordInfo<'/', '/', Record, Record>, + '/nav/1/item-1': RouteRecordInfo<'/nav/1/item-1', '/nav/1/item-1', Record, Record>, '/nav/2': RouteRecordInfo<'/nav/2', '/nav/2', Record, Record>, '/nav/4': RouteRecordInfo<'/nav/4', '/nav/4', Record, Record>, }