18 lines
340 B
TypeScript
18 lines
340 B
TypeScript
|
import { defineConfig } from 'vite'
|
||
|
import vue from '@vitejs/plugin-vue'
|
||
|
import vueJsx from '@vitejs/plugin-vue-jsx'
|
||
|
|
||
|
// https://vitejs.dev/config/
|
||
|
export default defineConfig({
|
||
|
plugins: [
|
||
|
vue(),
|
||
|
vueJsx({
|
||
|
// options are passed on to @vue/babel-plugin-jsx
|
||
|
}),
|
||
|
],
|
||
|
server: {
|
||
|
port: 3000,
|
||
|
host: '0.0.0.0'
|
||
|
},
|
||
|
})
|