Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tsconfig.json #396

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update tsconfig.json #396

wants to merge 1 commit into from

Commits on Aug 26, 2024

  1. Update tsconfig.json

    从 Vue 3.4 开始,Vue 不再隐式注册全局 JSX 命名空间。要指示 TypeScript 使用 Vue 的 JSX 类型定义,需要加入:{
    	"compilerOptions": {
    		"jsxImportSource": "vue",
    		"jsx": "preserve",
    	}
    }
    myafer authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    4f28164 View commit details
    Browse the repository at this point in the history