domBudg/front/vite.config.ts

19 lines
430 B
TypeScript
Raw Normal View History

2024-11-25 13:56:05 +04:00
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import Components from 'unplugin-vue-components/vite'
import { AntDesignVueResolver } from 'unplugin-vue-components/resolvers'
2024-11-25 13:56:05 +04:00
// https://vite.dev/config/
export default defineConfig({
plugins: [
vue(),
Components({
resolvers: [
AntDesignVueResolver({
importStyle: false, // css in js
}),
],
}),
],
2024-11-25 13:56:05 +04:00
})