feat: 🚀 sass导入更新
This commit is contained in:
21
src/env.d.ts
vendored
Normal file
21
src/env.d.ts
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
// src/env.d.ts
|
||||
// import type { ComponentCustomOptions } from "vue";
|
||||
|
||||
declare global {
|
||||
namespace JSX {
|
||||
interface IntrinsicElements {
|
||||
// 声明常用的 Element Plus 组件
|
||||
"el-option": any;
|
||||
"el-radio": any;
|
||||
"el-checkbox": any;
|
||||
"el-button": any;
|
||||
"el-table-column": any;
|
||||
"el-table": any;
|
||||
"el-tag": any;
|
||||
// 可以继续添加其他需要的组件
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 确保模块被识别
|
||||
export {};
|
||||
Reference in New Issue
Block a user