diff --git a/packages/vue-app/index.d.ts b/packages/vue-app/index.d.ts new file mode 100644 index 0000000000..364f58779b --- /dev/null +++ b/packages/vue-app/index.d.ts @@ -0,0 +1,2 @@ +// Dummy type definition file to provide backward compatibility +// around Nuxt modules extending `@nuxt/vue-app` for Nuxt < 2.9 diff --git a/packages/vue-app/package.json b/packages/vue-app/package.json index 66697f42ed..51436cf6a5 100644 --- a/packages/vue-app/package.json +++ b/packages/vue-app/package.json @@ -6,8 +6,10 @@ "files": [ "dist", "template", - "vetur" + "vetur", + "index.d.ts" ], + "typings": "index.d.ts", "main": "dist/vue-app.js", "dependencies": { "node-fetch": "^2.6.0",