mirror of
https://gitee.com/newgateway/vtj.git
synced 2026-05-08 04:07:27 +08:00
19 lines
436 B
TypeScript
19 lines
436 B
TypeScript
import { createViteConfig } from '@vtj/cli';
|
|
import { createDevTools } from '@vtj/pro/vite';
|
|
import proxy from './proxy.config';
|
|
// const basePath = '/lowcode/';
|
|
const basePath = '/';
|
|
export default createViteConfig({
|
|
base: basePath,
|
|
proxy,
|
|
elementPlus: false,
|
|
plugins: [
|
|
createDevTools({
|
|
staticBase: basePath,
|
|
devMode: false,
|
|
enhance: true,
|
|
pluginNodeModulesDir: '../../node_modules'
|
|
})
|
|
]
|
|
});
|