ws456999 / vue-typescript-starter

vue-typescript-starter 脚手架
327 stars 95 forks source link

@/main.ts IDE提示错误 #1

Closed zunshao closed 6 years ago

zunshao commented 6 years ago

import App from './app' 添加文件名后缀 import App from './app.vue'

ws456999 commented 6 years ago

需要添加vue后缀,ts默认识别ts / tsx / js / jsx,其他格式需要强制加上格式后缀