肝心のNuxt.js含めパッケージのバージョンが最新でないものが含まれるので適宜バージョンを上げる。 基本はその時のlatestを選べばいいが、Nuxt.jsがまだWebpack4に対応していない1ため、ts-loader は3.xである必要がある。 中身を見てみると module.exports = function () { // Add .ts extension for store, middleware and more this.nuxt.options.extensions.push('ts'); // Extend build this.extendBuild((config) => { const tsLoader = { loader: 'ts-loader', options: { appendTsSuffixTo: [/\.vue$/], }, }; // Add