From 01c3557a397f5c05d17bf724c07a6ff3bf6381da Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 11 Feb 2026 17:39:48 +0900 Subject: [PATCH 1/7] chore: try --- app/app.vue | 3 +++ nuxt.config.ts | 4 ++++ uno.config.ts | 5 +++++ 3 files changed, 12 insertions(+) diff --git a/app/app.vue b/app/app.vue index 2b0a58740..4547b13cb 100644 --- a/app/app.vue +++ b/app/app.vue @@ -3,6 +3,9 @@ import type { Directions } from '@nuxtjs/i18n' import { useEventListener, onKeyDown, onKeyUp } from '@vueuse/core' import { isEditableElement } from '~/utils/input' +import 'uno.css' +import('uno:icons.css') // make icon css a separate, async chunk + const route = useRoute() const router = useRouter() const { locale, locales } = useI18n() diff --git a/nuxt.config.ts b/nuxt.config.ts index 5965c351e..e64c2f5bf 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -49,6 +49,10 @@ export default defineNuxtConfig({ }, }, + unocss: { + autoImport: false, + }, + devtools: { enabled: true }, devServer: { diff --git a/uno.config.ts b/uno.config.ts index b75446763..7a3513622 100644 --- a/uno.config.ts +++ b/uno.config.ts @@ -35,6 +35,11 @@ export default defineConfig({ // keep this preset last ...(process.env.CI ? [] : [presetRtl(), presetA11y()]), ].filter(Boolean), + content: { + pipeline: { + exclude: [/\.(css|postcss|sass|scss|less|stylus|styl)($|\?)/, /[/\\]node_modules[/\\]/], + }, + }, transformers: [transformerDirectives(), transformerVariantGroup()], theme: { spacing: { DEFAULT: '4px' }, From 040b0c6dec18aa63ca76ed1acc90f27f555dc8bb Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 11 Feb 2026 18:11:03 +0900 Subject: [PATCH 2/7] chore: try --- app/components/Package/TrendsChart.vue | 5 ++++- app/components/Package/VersionDistribution.vue | 5 ++++- app/components/Package/WeeklyDownloadStats.vue | 7 ++++++- nuxt.config.ts | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/app/components/Package/TrendsChart.vue b/app/components/Package/TrendsChart.vue index a62c7ccf2..4a9cb1df7 100644 --- a/app/components/Package/TrendsChart.vue +++ b/app/components/Package/TrendsChart.vue @@ -1,6 +1,5 @@