Skip to content

Commit cb01166

Browse files
committed
main.tsでimport App from '@/App.vueがエラーになるのを修正
vuejs/vue-cli#1198 (comment)
1 parent aecabf0 commit cb01166

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/vue-shim.d.ts

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
declare module '*.vue' {
2+
import { defineComponent } from 'vue';
3+
const component: ReturnType<typeof defineComponent>;
4+
export default component;
5+
}

0 commit comments

Comments
 (0)