vite.config.js 270 B

123456789101112131415
  1. import { defineConfig } from 'vite'
  2. import vue from '@vitejs/plugin-vue'
  3. import path from 'path'
  4. export default defineConfig({
  5. plugins: [vue()],
  6. resolve: {
  7. alias: {
  8. '@': path.resolve(__dirname, 'src'),
  9. },
  10. },
  11. server: {
  12. host: '0.0.0.0',
  13. },
  14. })