Open joshhansen opened 3 years ago
1.npm install @vue/cli-plugin-typescript. 2.add your tsconfig.json.
The issue persists even after adding @vue/cli-plugin-typescript. I pushed this change to the above reproduction repository.
The issue occurs in the absence of a tsconfig.json. I had only mentioned that tangentially.
Version
4.5.13
Reproduction link
https://github.com/joshhansen/vue-cli-issue
Environment info
Steps to reproduce
(Optional)
(Required)
What is expected?
A minimal web application is served, properly parsing Typescript
What is actually happening?
I had introduced "paths" into my tsconfig.json. This caused an error with
vue-cli-service serve
which doesn't seem able to handle that feature. So I tried using the more modern replacement,vue serve
, with the above result. I had been previously able to serve Typescript code usingvue-cli-service serve
; however, the utility of using "paths" is great enough that I thought I'd try to switch over tovue serve
. But this isn't working either.