Search Docs
() => Promise<void> | void
undefined
dev.beforeStartUrl is used to execute a callback function before opening the startUrl, this config needs to be used together with dev.startUrl.
dev.beforeStartUrl
startUrl
dev.startUrl
export default { dev: { startUrl: true, beforeStartUrl: async () => { await doSomeThing(); }, }, };