📅  最后修改于: 2022-03-11 15:01:24.436000             🧑  作者: Mango
module.exports = {
...other config
plugins: [
['module-resolver', {
root: [
'./src',
],
"alias": {
"~": "./src",
}
}],
],
};