code-patch-plugin use npm install code-patch-plugin -D Modify vue.config.js configureWebpack: { plugins: [ new CodePatchPlugin() ] }