vite.config.js 293 字节
Newer Older
W
weixin_45569091 已提交
1 2 3 4 5 6 7 8 9 10
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig({
  server: {
    host: true
  },
  plugins: [vue()]
})
W
weixin_45569091 已提交
11 12 13 14 15 16

module.exports = {
  publicPath: './',
  outputDir: 'dist',
  indexPath: 'index.html'
}