From f59ec962696aa07fac2eb54619a2aba5887fcdd7 Mon Sep 17 00:00:00 2001 From: userquin Date: Wed, 31 Jul 2024 23:16:16 +0200 Subject: [PATCH 01/23] docs: optimize build --- packages/docs/package.json | 3 ++ packages/docs/src/components/doc/IconList.vue | 44 ++++++++++++++----- packages/docs/src/plugins/icons.ts | 16 +++++-- pnpm-lock.yaml | 40 ++++++++++++----- 4 files changed, 76 insertions(+), 27 deletions(-) diff --git a/packages/docs/package.json b/packages/docs/package.json index dc79e68a195..6bcdb219211 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -2,6 +2,7 @@ "name": "vuetifyjs.com", "description": "A Vue.js project", "private": true, + "type": "module", "author": "John Leider ", "version": "3.6.14", "repository": { @@ -43,6 +44,8 @@ "devDependencies": { "@emailjs/browser": "^4.3.3", "@intlify/unplugin-vue-i18n": "^4.0.0", + "@mdi/js": "^7.4.47", + "@mdi/svg": "7.4.47", "@types/lodash-es": "^4.17.12", "@types/markdown-it": "^14.0.0", "@types/markdown-it-container": "^2.0.10", diff --git a/packages/docs/src/components/doc/IconList.vue b/packages/docs/src/components/doc/IconList.vue index 10b1b22b1f8..f9e816d6267 100644 --- a/packages/docs/src/components/doc/IconList.vue +++ b/packages/docs/src/components/doc/IconList.vue @@ -4,10 +4,12 @@ v-model:search="search" :item-props="itemProps" :items="filteredIcons" + :loading="loading ? 'primary' : false" :placeholder="t('search.icons')" item-title="name" item-value="name" variant="outlined" + clearable no-filter >