autoDevBase

TIP

Automatically sets the base URL to current IP+port path (e.g. http://127.0.0.1:8080/) and fixes WebSocket for proxy debugging after startup

  • Type: boolean
  • Default: false
emp-config.js
import {defineConfig} from '@empjs/cli'
export default defineConfig(store => {
  return {
    autoDevBase:true
  }
})

Function

Enables remote access to debugging proxy tools without requiring manual proxies or embedding debug tools that may affect page aesthetics

ON THIS PAGE