pig-ui/vue-admin-wonderful-next/vite.config.ts

14 lines
256 B
TypeScript
Raw Normal View History

import type { UserConfig } from 'vite';
import path from 'path';
const viteConfig: UserConfig = {
port: 8080,
hostname: 'localhost',
open: false,
alias: {
'/@/': path.resolve(__dirname, './src')
},
}
export default viteConfig