TypeScript support for config file (vue.config.ts)
See original GitHub issueWhat problem does this feature solve?
Type tracking when configured.
What does the proposed API look like?
can config width: vue.config.ts
or
vue.config.js
:
const VueConf = require('@vue/conf');
VueConf({
// baseUrl/assetsDir/devServer/... conf in here
});
Issue Analytics
- State:
- Created 5 years ago
- Reactions:47
- Comments:25 (4 by maintainers)
Top Results From Across the Web
How do I setup vue.config.js with typescript? - Stack Overflow
It's linter rule. This isn't directly linked to TS or Vue config. The rule can be disabled if it's unwanted (require has its...
Read more >Using Vue with TypeScript - Vue.js
The base config is abstracted in the @vue/tsconfig package. ... In takeover mode, Volar provides support for both Vue and TS files using...
Read more >Setup vue.config.js to include typescript files - Get Help
Got a Vue project with Typescript. I got some seperate .ts files that I want to be in the bundle. How would that...
Read more >TypeScript as Config - VuePress
VuePress supports type prompt and type checking for config file, as well as type ... Creating .vuepress/config.ts with following contents:.
Read more >Configuration Reference | Vue CLI
vue.config.js is an optional config file that will be automatically loaded by @vue/cli-service if it's present in your project root (next to ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ll work on the
vue.config.ts
support. 👍I think we could have something like webpack does:
If anyone want to work on this that’d be great. /cc @ktsn @HerringtonDarkholme