-
-
Notifications
You must be signed in to change notification settings - Fork 597
Closed
Labels
Description
- I searched through existing issues.
- I have looked through docs at https://vuejs.github.io/vetur/
Info
- Platform: macOS
- Vetur version: 0.9.3
- VSCode version: 1.15.0
Problem
tsconfig.json
is ignored if it isn't in the root of the vs code window.
For example:
file: 'file:///Users/yuval/rylo/nuxtsc/a/pages/index.vue'
severity: 'Error'
message: 'Cannot find module '~plugins/nuxt-class-component'.'
at: '17,23'
source: ''
file: 'file:///Users/yuval/rylo/nuxtsc/a/pages/index.vue'
severity: 'Error'
message: 'Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.'
at: '21,1'
source: ''
Reproducible Case
git clone https://github.com/johnlindquist/nuxt-typescript a
git clone https://github.com/johnlindquist/nuxt-typescript b
code .
# now open pages/index.js and see the errors
Based on this code it seems to me there is no support to do this currently
const configFilename = ts.findConfigFile(workspacePath, ts.sys.fileExists, 'tsconfig.json') || |
mickdekkers, fogzot, ThomasHickman, jthomaschewski, turbobuilt and 2 more