How To Specify A Custom TypeScript `tsconfig.json` in Vue.js

Use the chainWebpack option from the vue.config.js configuration file to adjust the config for ts-loader and fork-ts-checker-plugin accordingly.

module.exports = {
  chainWebpack: config => {
      .tap(args => {
        args[0].tsconfig = './client/tsconfig.json';
        return args;

Subscribe to My Newsletter

The latest programming-related news, articles and resources - sent to your inbox monthly. Unsubscribe anytime.