摘要:
tsconfig.json 重点在于 "jsx": "preserve", "jsxImportSource": "vue", { "compilerOptions": { "target": "ES2020", "useDefineForClassFields": true, "module": 阅读全文
摘要:
vite.config.ts const pathResolve = (pathStr: string) => { return path.resolve(__dirname, pathStr); }; // https://vitejs.dev/config/ export default def 阅读全文