CopyPastor

Detecting plagiarism made easy.

Score: 0.8293547034263611; Reported for: String similarity Open both answers

Original Post

Original - Posted on 2018-09-02
by ChrisDeDavidMindflowAU



            
Present in both answers; Present only in the new answer; Present only in the old answer;

The app may have multiple Vue instances, it can lead to this problem...
I **fixed** this warning: Vue warn $attrs is readonly. found in <RouterLink>...
**by _removing_ line**: `import Vue from 'vue'`
while _keeping_: `import VueRouter from 'vue-router'`
Reason why it fixed: vue was being loaded twice. Vue is imported at the top of VueRouter. There's no need to import it before VueRouter.
Having multiple Vue instances can lead to this problem...
I **fixed** this warning: Vue warn $attrs is readonly. found in <RouterLink>...
**by _removing_ line**: `import Vue from 'vue'`
while _keeping_: `import VueRouter from 'vue-router'`
Reason why it fixed: vue was being loaded twice. Vue is imported at the top of VueRouter. There's no need to import it before VueRouter.

        
Present in both answers; Present only in the new answer; Present only in the old answer;