重构: 升级ESLint配置并优化项目结构 │
│ │ │ - 迁移至ESLint新版配置格式(eslint.config.mjs) │ │ - 添加Next.js ESLint配置支持 │ │ - 新增样式类型定义文件 │ │ - 优化TypeScript和Vite配置 │ │ - 更新Tailwind CSS配置 │ │ │ │ 🤖 Generated with [Claude Code](https://claude.com/claude-code) │ │ │ │ Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {Navbar1} from "@/components/layouts/NavBar"
|
||||
import {Navbar1} from "@/components/layouts/Navbar"
|
||||
import {SideBarOld} from '@/components/layouts/SideBar/SideBarOld'
|
||||
import '@/styles/globals.css'
|
||||
|
||||
|
||||
9
crop-x/src/types/style.d.ts
vendored
Normal file
9
crop-x/src/types/style.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
declare module '*.css' {
|
||||
const content: { [className: string]: string };
|
||||
export default content;
|
||||
}
|
||||
|
||||
declare module '@/styles/*.css' {
|
||||
const content: { [className: string]: string };
|
||||
export default content;
|
||||
}
|
||||
Reference in New Issue
Block a user