npm-check
npm-check copied to clipboard
Vue + TS = nothing is recognised
Since vue-cli 3.0, you can bootstrap vue project, and write it entirely in TS. The problem is that npm-check cannot detect that any package is being used.
Any chance of getting the support, at least via custom extension *.vue
param, or something?
I'd be open to adding .vue
to standard extensions, are they JavaScript files?
Thats the catch, they are bit more complex.
https://vuejs.org/v2/guide/single-file-components.html
On Wed, 16 May 2018, 12:27 Linus Unnebäck, [email protected] wrote:
I'd be open to adding .vue to standard extensions, are they JavaScript files?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dylang/npm-check/issues/290#issuecomment-389471794, or mute the thread https://github.com/notifications/unsubscribe-auth/AADH0WYcPVly3vmfIuyKo4O--PRhjTLMks5ty_8pgaJpZM4UA6ya .
Seems like there is an open PR to depcheck, if that lands we could probably support it
https://github.com/depcheck/depcheck/pull/254
The linked PR is merged; what needs to be done to add support for .vue
files to npm-check?