feat(all): 更新文档
This commit is contained in:
@@ -4,7 +4,7 @@ import App from './App.vue'
|
||||
import router from './router'
|
||||
import {Bus} from "./hooks/Bus.ts";
|
||||
import DisableDevtool from 'disable-devtool';
|
||||
|
||||
import * as THREE from 'three';
|
||||
const app = createApp(App)
|
||||
app.config.globalProperties.bus = new Bus();
|
||||
window.bus = app.config.globalProperties.bus
|
||||
|
||||
@@ -39,7 +39,7 @@ export default defineConfig({
|
||||
// 监听所有网络接口(0.0.0.0),允许外部IP访问
|
||||
host: '0.0.0.0',
|
||||
// 可选:指定端口(如8099,和你之前的Caddy端口一致)
|
||||
port: 8099,
|
||||
port: 8059,
|
||||
// 可选:端口被占用时自动切换可用端口
|
||||
strictPort: false,
|
||||
// 可选:自动打开浏览器
|
||||
|
||||
Reference in New Issue
Block a user