mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-24 11:05:17 +08:00
18 lines
381 B
TypeScript
18 lines
381 B
TypeScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import Components from 'unplugin-vue-components/vite'
|
|
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
|
|
import './vite.init'
|
|
|
|
export default defineConfig({
|
|
server: {
|
|
host: true,
|
|
},
|
|
plugins: [
|
|
vue(),
|
|
Components({
|
|
resolvers: ElementPlusResolver(),
|
|
}),
|
|
],
|
|
})
|