Skip to content

Commit 135fdbf

Browse files
authored
fix: fix Vue 3 + TS + Router template (#5798)
Follow up of #5771 Fixes #5795 Fixes #5796
1 parent 7458103 commit 135fdbf

File tree

1 file changed

+1
-0
lines changed
  • packages/@vue/cli-plugin-typescript/generator/template-vue3/src

1 file changed

+1
-0
lines changed

packages/@vue/cli-plugin-typescript/generator/template-vue3/src/App.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
extend: '@vue/cli-service/generator/template/src/App.vue'
3+
when: "rootOptions.plugins && !rootOptions.plugins['@vue/cli-plugin-router']"
34
replace:
45
- !!js/regexp /Welcome to Your Vue\.js App/g
56
- !!js/regexp /<script>[^]*?<\/script>/

0 commit comments

Comments
 (0)