Nuxt export 'default' (imported as 'mod') was not found
You will need atleast an empty export default script in your vue files to not see this error. If you don't have any export default statement, it gives this error/warning.
export default {
}
I solved using the following tsconfig:
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"moduleResolution": "node",
"lib": ["esnext", "esnext.asynciterable", "dom"],
"esModuleInterop": true,
"experimentalDecorators": true,
"allowJs": true,
"sourceMap": true,
"strict": false,
"allowSyntheticDefaultImports": true,
"noImplicitAny": false,
"noEmit": true,
"baseUrl": ".",
"resolveJsonModule": true,
"paths": {
"~/*": ["./*"]
},
"types": ["@nuxt/vue-app", "@types/node", "@types/webpack-env"]
}
}