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() {