mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 17:31:02 +08:00
21 lines
437 B
JavaScript
21 lines
437 B
JavaScript
|
import { defineConfig } from 'vite'
|
||
|
import vue from '@vitejs/plugin-vue'
|
||
|
import vueJsx from '@vitejs/plugin-vue-jsx'
|
||
|
import DefineOptions from 'unplugin-vue-define-options/rollup'
|
||
|
import ElementPlus from 'unplugin-element-plus/vite'
|
||
|
|
||
|
// https://vitejs.dev/config/
|
||
|
export default defineConfig({
|
||
|
plugins: [
|
||
|
vue(),
|
||
|
vueJsx(),
|
||
|
DefineOptions(),
|
||
|
ElementPlus({
|
||
|
// options
|
||
|
}),
|
||
|
],
|
||
|
server: {
|
||
|
port: 5000,
|
||
|
},
|
||
|
})
|