Skip to content

Commit 6e06c26

Browse files
committed
refactor: tweak comments
1 parent 6fc76b3 commit 6e06c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/create-local-vue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ function createLocalVue (): Component {
2020
// so that merge strats registered by plguins can work properly
2121
instance.config.optionMergeStrategies = Vue.config.optionMergeStrategies
2222

23+
// compat for vue-router < 2.7.1 where it does not allow multiple installs
2324
const use = instance.use
2425
instance.use = (plugin) => {
25-
// compat for vue-router < 2.7.1
2626
plugin.installed = false
2727
plugin.install.installed = false
2828
use.call(instance, plugin)

0 commit comments

Comments
 (0)