Skip to content

Commit

Permalink
fix: only replace App.vue when there's no router plugin (#5771)
Browse files Browse the repository at this point in the history
Fixes #5770
  • Loading branch information
sodatea committed Aug 11, 2020
1 parent 3952125 commit 2a56179
Showing 1 changed file with 1 addition and 0 deletions.
@@ -1,5 +1,6 @@
---
extend: '@vue/cli-service/generator/template/src/App.vue'
when: "rootOptions.plugins && !rootOptions.plugins['@vue/cli-plugin-router']"
replace:
- !!js/regexp /Welcome to Your Vue\.js App/g
- !!js/regexp /<script>[^]*?<\/script>/
Expand Down

0 comments on commit 2a56179

Please sign in to comment.