From 8008b3495589dcb42fa81325df4d1b7c11bdcafe Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 17 Jun 2024 18:22:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vite.config.js b/vite.config.js index 54d7440..5f3bd3b 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,6 +1,6 @@ -import { fileURLToPath, URL } from 'node:url' +import {fileURLToPath, URL} from 'node:url' -import { defineConfig } from 'vite' +import {defineConfig} from 'vite' import legacy from '@vitejs/plugin-legacy' import vue2 from '@vitejs/plugin-vue2' import vue2Jsx from '@vitejs/plugin-vue2-jsx' @@ -19,5 +19,8 @@ export default defineConfig({ alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) } + }, + devServer: { + port: 9000 } })