feat: add baidu translate

This commit is contained in:
zyronon
2023-09-11 14:19:04 +08:00
parent 00a479a726
commit a66b32578d
7 changed files with 65 additions and 54 deletions

View File

@@ -27,13 +27,12 @@
"unplugin-icons/types/vue",
"element-plus/global"
],
"baseUrl": "./",
"baseUrl": "src",
//This is because TypeScript does not resolve webpack aliases automatically.
//For TS to resolve aliases, they should be added in tsconfig.json under compilerOptions.paths:
// https://betterprogramming.pub/the-right-usage-of-aliases-in-webpack-typescript-4418327f47fa
"paths": {
"@/*": [
"src/*"
]
"@/*": ["*"]
}
},
"include": [