Skip to content

Commit 59ebe63

Browse files
authored
fix the setup option is deprecated.
The `setup` option is deprecated and will be removed in v3. Please update your config to use `before`
1 parent de85f81 commit 59ebe63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/.electron-vue/dev-runner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function startRenderer () {
6464
{
6565
contentBase: path.join(__dirname, '../'),
6666
quiet: true,
67-
setup (app, ctx) {
67+
before (app, ctx) {
6868
app.use(hotMiddleware)
6969
ctx.middleware.waitUntilValid(() => {
7070
resolve()

0 commit comments

Comments
 (0)