You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
405 B

2 years ago
import { defineConfig } from 'vite'
2 years ago
import vue from '@vitejs/plugin-vue'
2 years ago
import { join } from 'path'
2 years ago
2 years ago
// https://vitejs.dev/config/
export default defineConfig({
2 years ago
plugins: [vue()],
resolve: {
alias: {
'@': join(__dirname, '/src')
}
}
2 years ago
// server: {
// proxy: {
// '/api': {
// target: 'http://www.qi36.com',
// changeOrigin: true
// }
// }
// }
2 years ago
})