You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #484 Allow to import .vue files when using TypeScript (Lyrkan)
This PR was merged into the master branch.
Discussion
----------
Allow to import .vue files when using TypeScript
With the current default config importing a `.vue` file from a `.ts` file results in an error because the `ts-loader` don't know how to handle Vue files.
This PR resolves that issue by setting the `appendTsSuffixTo` option of the `ts-loader` to `[/\.vue$/]` (as described [here](https://vue-loader.vuejs.org/guide/pre-processors.html#typescript)) when the `vue-loader` is enabled (fixes#467).
Commits
-------
8bbc3f6 Allow to import .vue files when using TypeScript
0 commit comments