From 86bee106d924613fb4f7f28f44ef5e776721cebe Mon Sep 17 00:00:00 2001 From: xingyuv Date: Fri, 24 Mar 2023 23:44:34 +0800 Subject: [PATCH] fix(design): dark closed #I6PWSW --- src/design/var/index.less | 4 ++-- src/main.ts | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/design/var/index.less b/src/design/var/index.less index 985311f7..1689f76d 100644 --- a/src/design/var/index.less +++ b/src/design/var/index.less @@ -1,6 +1,6 @@ @import (reference) '../color.less'; -@import './easing'; -@import './breakpoint'; +@import 'easing'; +@import 'breakpoint'; @namespace: vben; diff --git a/src/main.ts b/src/main.ts index 5d4188ac..4da9124c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,4 +1,5 @@ import 'uno.css' +import 'virtual:unocss-devtools' import '@/design/index.less' // Register icon sprite import 'virtual:svg-icons-register' @@ -16,7 +17,7 @@ import { registerGlobComp } from '@/components/registerGlobComp' import { isDevMode } from './utils/env' if (isDevMode()) { - import('ant-design-vue/dist/antd.css') + import('ant-design-vue/dist/antd.less') } async function bootstrap() {