smarketing-frontend/vite.config.js
2025-06-11 14:29:34 +09:00

26 lines
485 B
JavaScript

//* vite.config.js
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vuetify from 'vite-plugin-vuetify'
import { fileURLToPath, URL } from 'node:url'
export default defineConfig({
plugins: [
vue(),
vuetify({
autoImport: true,
theme: {
defaultTheme: 'light'
}
})
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
},
server: {
port: 3000,
host: true
}
})