jm-expense-vue-ts/vite.config.js

22 lines
425 B
JavaScript
Raw Normal View History

2022-03-29 01:55:10 +00:00
// vite.config.js
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
const path = require('path')
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src')
}
2022-04-16 05:37:36 +00:00
},
server: {
port: 8080
2022-04-24 02:08:45 +00:00
},
// base: import.meta.env.DEV ? '/' : '/jm-expense-vue-ts/'
// base: '/jm-expense-vue-ts/'
base: './'
2022-03-29 01:55:10 +00:00
})