📜  react native import virtual path - Javascript代码示例

📅  最后修改于: 2022-03-11 15:04:23.558000             🧑  作者: Mango

代码示例1
// in tsconfig.json
{
    "extends": "expo/tsconfig.base",
    "compilerOptions": {
        "baseUrl": "src",
        "paths": {
            "@assets/*": [
                "assets/*",
            ],
            ...
        }
    }
}