Skip to content

Commit 49f70ba

Browse files
haoqunjiangpksunkara
authored andcommitted
docs: mention the precedence of .vue & .ts(x) extensions (#5055)
closes #4936
1 parent e8fb3d9 commit 49f70ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/migrating-from-v3/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ As in the cypress plugin, the support for legacy `vue-cli-service e2e` command h
266266

267267
### `@vue/cli-plugin-typescript`
268268

269-
When using Typescript, the webpack resolve options now [prefer `ts(x)` file extensions over `js(x)` ones](https://github.com/vuejs/vue-cli/pull/3909).
269+
When importing a file without extension, the webpack resolve options now prefer [prefer `.ts(x)` files over `.js(x)` and `.vue` ones](https://github.com/vuejs/vue-cli/pull/3909). We strongly recommend you to always include the file extension when importing `.vue` files.
270270

271271
### `@vue/cli-plugin-unit-jest`
272272

0 commit comments

Comments
 (0)