refactor: Icons Type Declarations
All checks were successful
CI / cache-and-install (push) Successful in 1m26s
All checks were successful
CI / cache-and-install (push) Successful in 1m26s
This commit is contained in:
@ -2,7 +2,6 @@ import { unheadVueComposablesImports } from '@unhead/vue';
|
||||
import { VantResolver } from '@vant/auto-import-resolver';
|
||||
import Vue from '@vitejs/plugin-vue';
|
||||
import VueJsx from '@vitejs/plugin-vue-jsx';
|
||||
import ReactivityTransform from '@vue-macros/reactivity-transform/vite';
|
||||
import { fileURLToPath, URL } from 'node:url';
|
||||
import UnoCSS from 'unocss/vite';
|
||||
import AutoImport from 'unplugin-auto-import/vite';
|
||||
@ -69,7 +68,6 @@ function Plugins() {
|
||||
}), // https://vue-macros.dev/zh-CN/guide/bundler-integration.html
|
||||
UnoCSS(),
|
||||
Markdown({ headEnabled: true }),
|
||||
ReactivityTransform(), // https://vue-macros.dev/zh-CN/features/reactivity-transform.html
|
||||
);
|
||||
|
||||
plugins.push(
|
||||
@ -92,6 +90,7 @@ function Plugins() {
|
||||
include: [/\.vue$/, /\.vue\?vue/, /\.md$/],
|
||||
resolvers: [
|
||||
IconsResolver({
|
||||
prefix: 'icon',
|
||||
customCollections: ['svg'],
|
||||
}), // https://github.com/unplugin/unplugin-icons?tab=readme-ov-file#auto-importing
|
||||
TDesignResolver({ library: 'mobile-vue', esm: true }),
|
||||
|
Reference in New Issue
Block a user